Re: pg_execute_from_file, patch v10

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pg_execute_from_file, patch v10
Дата
Msg-id AANLkTindk4tL=AHSwbaa1Uhb2zUik1mGbp3gPACUWWF1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_execute_from_file, patch v10  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: pg_execute_from_file, patch v10  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Список pgsql-hackers
On Mon, Dec 13, 2010 at 9:36 AM, Dimitri Fontaine
<dimitri@2ndquadrant.fr> wrote:
> Do you want another patch version from me?

I'm looking at this patch and I'm confused.  Why do we need this at
all?  pg_read_binary_file() seems like it might be useful to somebody,
but I don't see what it has to do with extensions.  And the rest of
this doesn't appear to provide any new functionality.  The extension
mechanism hardly needs SQL-callable functions.

As a side note, this comment almost makes sense, but not quite:

+       /* Abuse knowledge that we're bytea and text are both varlena */

...but my real question is why any of this is necessary at all and
what it has to do with extensions.

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: rest of works for security providers in v9.1
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Re: rest of works for security providers in v9.1