Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> Probably in future the standard PLs will be packaged as extensions, and
>> then it will work. The main reason that it won't happen for 9.1 is that
>> right now we require superuser privilege to install an extension, which
>> would be a regression compared to the privilege requirements for
>> installing standard PLs in existing releases. And relaxing that
>> requirement is a research project :-(
> Meanwhile, is it possible to have CREATE LANGUAGE internally register an
> extension? It's a kludge but I somehow though I'd mention it.
Hmmm ... it definitely is a kluge, but ...
You'd need to work out how the CREATE OR REPLACE and DROP cases would
work.
regards, tom lane