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

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: Per-function search_path => per-function GUC settings
Дата
Msg-id e51f66da0709020842l1ee5040er317a0eb525e3a74c@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Per-function search_path => per-function GUC settings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Per-function search_path => per-function GUC settings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 9/2/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Marko Kreen" <markokr@gmail.com> writes:
> > On 9/1/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> One problem is that we'd have to make CURRENT a reserved word to make it
> >> work exactly like that.  Can anyone think of a variant syntax that
> >> doesn't need a new reserved word?
>
> > SET var FROM CURRENT SESSION
>
> Seems a little verbose, but maybe we could do "SET var FROM CURRENT"
> or "SET var FROM SESSION"?

I'd prefer FROM SESSION then.  FROM CURRENT seems unclear.

> One point worth noting here is that this'd more or less automatically
> apply to ALTER USER SET and ALTER DATABASE SET as well ... not sure
> how much use-case there is for those, but it'd fall out ...

Does not seem to be a problem.

-- 
marko


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: GIST and GIN indexes on varchar[] aren't working in CVS.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Per-function GUC settings: trickier than it looked