Re: RULE - special variables?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: RULE - special variables?
Дата
Msg-id 455310F1.1020007@archonet.com
обсуждение исходный текст
Ответ на Re: RULE - special variables?  (Shane Ambler <pgsql@007Marketing.com>)
Список pgsql-general
Shane Ambler wrote:
> Albe Laurenz wrote:
>>> Do rules get special variables like triggers? Can I set variables in
>>> them like
>>> triggers?
>>
>> A rule is one or more SQL-Statements - how do you set variables in SQL?
>>
>
> SET [ SESSION | LOCAL ] name { TO | = } { value | 'value' | DEFAULT }
>
> http://www.postgresql.org/docs/8.1/interactive/sql-set.html

That's configuration settings, not user-defined variables though.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Russell Smith
Дата:
Сообщение: Re: planer picks a bad plan (seq-scan instead of index)
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: autovacuum blues