Re: Warning for missing createlang

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Warning for missing createlang
Дата
Msg-id 19519.1062725336@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Warning for missing createlang  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Warning for missing createlang
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I have written a patch to issue an hint if someone tries to create a
> function in a language that isn't loaded into the database:

>     ERROR:  language "plpgsql" does not exist
>     HINT:  Perhaps you need to use 'createlang' to load the language into
>     the database.

> I know Peter didn't like this idea in the past, but we are getting too
> many people who forget createlang, and with our new HINT tags, it seems
> appropriate.

I still agree with Peter's opinion ... this hint is fairly silly,
especially since it would pop out for simple misspellings of language
names.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: IPV4 addresses on IPV6 machines in pg_hba.conf
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Warning for missing createlang