Re: DO hint update? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: DO hint update?
Date
Msg-id 9119.1301199004@sss.pgh.pa.us
Whole thread Raw
In response to DO hint update?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: DO hint update?
Re: DO hint update?
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Does this need updating now that languages are more exensiony?  Or is
> it OK?

>         if (!HeapTupleIsValid(languageTuple))
>                 ereport(ERROR,
>                                 (errcode(ERRCODE_UNDEFINED_OBJECT),
>                                  errmsg("language \"%s\" does not
> exist", languageName),
>                                  (PLTemplateExists(languageName) ?
>                                   errhint("Use CREATE LANGUAGE to load
> the language into the database.") : 0)));

Hm ... the core languages would now prefer CREATE EXTENSION, but it's
not clear how fast non-core PLs will follow suit.

Perhaps "Use CREATE EXTENSION or CREATE LANGUAGE to load ..." ?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Libpq PGRES_COPY_BOTH - version compatibility
Next
From: Tom Lane
Date:
Subject: Re: Libpq PGRES_COPY_BOTH - version compatibility