Re: Vote totals for SET in aborted transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Vote totals for SET in aborted transaction
Дата
Msg-id 29718.1020099892@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Vote totals for SET in aborted transaction  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: Vote totals for SET in aborted transaction  ("Marc G. Fournier" <scrappy@hub.org>)
Список pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes:
> If we go with your syntax I would prefer SET LOCAL to LOCAL SET , so
> that LOCAL feels tied more to variable rather than to SET .

I agree.  I was originally thinking that that way might require LOCAL to
become a reserved word, but we should be able to avoid it.

With Thomas' nearby suggestion of SET SESSION ..., we'd have
SET [ SESSION | LOCAL ] varname TO value

and it only remains to argue which case is the default ;-)
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vote totals for SET in aborted transaction
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Vote totals for SET in aborted transaction