Re: Proposal: template-ify (binary) extensions - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Proposal: template-ify (binary) extensions
Date
Msg-id CA+TgmoZ826yz2J=KO3LxRmpsNLmBJUACWgMri_-SQgTvXAVq1A@mail.gmail.com
Whole thread Raw
In response to Proposal: template-ify (binary) extensions  (Markus Wanner <markus@bluegap.ch>)
Responses Re: Proposal: template-ify (binary) extensions
Re: Proposal: template-ify (binary) extensions
List pgsql-hackers
On Fri, Jul 5, 2013 at 4:27 PM, Markus Wanner <markus@bluegap.ch> wrote:
> One way to resolve that - and that seems to be the direction Dimitri's
> patch is going - is to make the extension depend on its template. (And
> thereby breaking the mental model of a template, IMO. In the spirit of
> that mental model, one could argue that code for stored procedures
> shouldn't be duplicated, but instead just reference its ancestor.)

The security problems with this model have been discussed in every
email thread about the extension template feature.  There is a lot of
(well-founded, IMHO) resistance to the idea of letting users install C
code via an SQL connection.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Proposal - Support for National Characters functionality
Next
From: Gurjeet Singh
Date:
Subject: Re: review: Non-recursive processing of AND/OR lists