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 по дате отправления: