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)));
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company