Re: Warning for missing createlang - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Warning for missing createlang
Date
Msg-id 200309052056.h85Kus117759@candle.pha.pa.us
Whole thread Raw
In response to Re: Warning for missing createlang  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: minor documentation improvements
Next
From: Bruce Momjian
Date:
Subject: Re: minor documentation improvements