Re: RULE - special variables?

Поиск
Список
Период
Сортировка
От Shane Ambler
Тема Re: RULE - special variables?
Дата
Msg-id 45530AFB.3010901@007Marketing.com
обсуждение исходный текст
Ответ на Re: RULE - special variables?  ("Albe Laurenz" <all@adv.magwien.gv.at>)
Ответы Re: RULE - special variables?  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
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


--

Shane Ambler
pgSQL@007Marketing.com

Get Sheeky @ http://Sheeky.Biz

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

Предыдущее
От: "Gregory S. Williamson"
Дата:
Сообщение: Re: planer picks a bad plan (seq-scan instead of index)
Следующее
От: "Anton Melser"
Дата:
Сообщение: autovacuum blues