Re: DO hint update?
От | Tom Lane |
---|---|
Тема | Re: DO hint update? |
Дата | |
Msg-id | 9119.1301199004@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | DO hint update? (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: DO hint update?
Re: DO hint update? |
Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes: > Does this need updating now that languages are more exensiony? Or is > it OK? > if (!HeapTupleIsValid(languageTuple)) > ereport(ERROR, > (errcode(ERRCODE_UNDEFINED_OBJECT), > errmsg("language \"%s\" does not > exist", languageName), > (PLTemplateExists(languageName) ? > errhint("Use CREATE LANGUAGE to load > the language into the database.") : 0))); Hm ... the core languages would now prefer CREATE EXTENSION, but it's not clear how fast non-core PLs will follow suit. Perhaps "Use CREATE EXTENSION or CREATE LANGUAGE to load ..." ? regards, tom lane
В списке pgsql-hackers по дате отправления: