Re: Warning for missing createlang

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Warning for missing createlang
Дата
Msg-id 200309052056.h85Kus117759@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Warning for missing createlang  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > How about this, that also suggests you mistyped the name:
> >
> > >     HINT:  Perhaps you need to use 'createlang' to load the language into
> > >     the database, or you mistyped the language name.
>
> That's only one step away from this:
>
> peter=# SELECT * FROM test;
> ERROR:  relation "test" does not exist
> HINT:  Perhaps you need to use "CREATE TABLE" to create the table in the
> database, or you mistyped the table name.
>
> I think not...

I never suggested that.  Just because the extreme is wrong doesn't make
the case we are discussing wrong.

If the hint is useful, then we add it.  I don't see the above as useful,
while I see the CREATE FUCTION as useful.  No one is posting asking why
they have to create the table before selecting from it.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: minor documentation improvements
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: minor documentation improvements