Re: Proposal: template-ify (binary) extensions

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Markus Wanner <markus(at)bluegap(dot)ch>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposal: template-ify (binary) extensions
Date: 2013-07-15 03:49:47
Message-ID: CA+TgmoZ826yz2J=KO3LxRmpsNLmBJUACWgMri_-SQgTvXAVq1A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 5, 2013 at 4:27 PM, Markus Wanner <markus(at)bluegap(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gurjeet Singh 2013-07-15 04:45:31 Re: review: Non-recursive processing of AND/OR lists
Previous Message Robert Haas 2013-07-15 03:37:58 Re: Proposal - Support for National Characters functionality