Re: proposal: set GUC variables for single query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal: set GUC variables for single query
Дата
Msg-id 12962.1318860699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal: set GUC variables for single query  (Jan Urbański <wulczer@wulczer.org>)
Список pgsql-hackers
Jan Urbański <wulczer@wulczer.org> writes:
> On 17/10/11 02:53, Robert Haas wrote:
>> I previously floated the idea of using a new keyword, possibly LET,
>> for this, like this:
>> 
>> LET var = value [, ...] IN query

> LET was something I thought about, although you'd have to use something
> like parenthesis around the GUC assignements because "value" can contain
> commas, leading to shift/reduce conflicts (that sucks, unfortunately).

Probably better to forbid commas --- people can always put such values
inside a quoted literal.
        regards, tom lane


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

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: Pushing ScalarArrayOpExpr support into the btree index AM
Следующее
От: "Erik Rijkers"
Дата:
Сообщение: Re: Range Types - typo + NULL string constructor