Re: Goodbye pg_pltemplate, hello trusted extensions

2018-04-27 Thread Tom Lane
Andres Freund writes: > On 2018-04-27 16:34:04 -0400, Tom Lane wrote: >> So I thought for awhile about how to deal with that, and eventually >> decided that really what we need to do is solve this as part of the >> extension mechanism, not CREATE LANGUAGE per se. What I'm imagining >> is that we

Re: Goodbye pg_pltemplate, hello trusted extensions

2018-04-27 Thread Andres Freund
Hi, On 2018-04-27 16:34:04 -0400, Tom Lane wrote: > So I thought for awhile about how to deal with that, and eventually > decided that really what we need to do is solve this as part of the > extension mechanism, not CREATE LANGUAGE per se. What I'm imagining > is that we add new option(s) to ext

Goodbye pg_pltemplate, hello trusted extensions

2018-04-27 Thread Tom Lane
Over in the thread about python versions there was some mention of getting rid of the pg_pltemplate system catalog in favor of putting all the info about a procedural language into its extension script. This has been discussed before, and it'd be a very good thing to do because it would allow third