Re: Proposal: template-ify (binary) extensions

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Proposal: template-ify (binary) extensions
Дата
Msg-id CA+TgmoZ826yz2J=KO3LxRmpsNLmBJUACWgMri_-SQgTvXAVq1A@mail.gmail.com
обсуждение исходный текст
Ответ на Proposal: template-ify (binary) extensions  (Markus Wanner <markus@bluegap.ch>)
Ответы Re: Proposal: template-ify (binary) extensions  (Andres Freund <andres@2ndquadrant.com>)
Re: Proposal: template-ify (binary) extensions  (Markus Wanner <markus@bluegap.ch>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Proposal - Support for National Characters functionality
Следующее
От: Gurjeet Singh
Дата:
Сообщение: Re: review: Non-recursive processing of AND/OR lists