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:
>
>
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: rela
Bruce Momjian wrote:
> 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:
>
> test=> CREATE FUNCTION xx() RETURNS INT AS '
> test'> select 1'
> test-> LANGUAGE 'plpgsql';
> ERROR: language "plp
Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> 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 'createlan
Bruce Momjian <[EMAIL PROTECTED]> 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