Re: [PATCH] Store Extension Options

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Store Extension Options
Дата
Msg-id 7585.1388979590@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Store Extension Options  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, Jan 5, 2014 at 3:45 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> pg_dump creates extensions before tables, no?  So what dump/restore
>> hazard?

> Creating the extension doesn't guarantee that the shared library will
> always be loaded.

No, but unless the plan is that no validation happens at all (which
I gather is not your desire) then there must be some mechanism for
figuring out which extension owns a given reloption and asking it
to validate the value.  This might be more complicated than a passive
hook, but I don't feel bad about demanding that it work like that.
        regards, tom lane



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Compiling extensions on Windows
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Store Extension Options