Re: Per-function search_path => per-function GUC settings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Per-function search_path => per-function GUC settings
Дата
Msg-id 18607.1188690266@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Per-function search_path => per-function GUC settings  (David Fetter <david@fetter.org>)
Список pgsql-hackers
David Fetter <david@fetter.org> writes:
> On Sat, Sep 01, 2007 at 12:41:28PM -0400, Tom Lane wrote:
>> The most straightforward way to support this syntactically seems to
>> be to follow the per-user and per-database GUC setting features:
>> 
>> ALTER FUNCTION func(args) SET var = value

> Would it be hard to extend this into this?
>     ALTER FUNCTION func(args) SET var = value [, var = value ...]

Actually, it would be hard *not* to, because of the way the CREATE/ALTER
FUNCTION syntax is already set up --- but without the commas.  I've got
it working now with SET and RESET as alternatives for
common_func_opt_item.
        regards, tom lane


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Per-function search_path => per-function GUC settings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Per-function search_path => per-function GUC settings