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