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