Re: Updates on Views?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Updates on Views?
Дата
Msg-id 16274.985321407@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Updates on Views?  (will trillich <will@serensoft.com>)
Список pgsql-general
will trillich <will@serensoft.com> writes:
> is it possible to have a rule DO INSTEAD more-than-one-thing?

Sure.  Observe the CREATE RULE reference page:

CREATE RULE name AS ON event
    TO object [ WHERE condition ]
    DO [ INSTEAD ] action

where action can be:

NOTHING
|
query
|
( query ; query ... )
|
[ query ; query ... ]


            regards, tom lane

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

Предыдущее
От: will trillich
Дата:
Сообщение: internationalizing text
Следующее
От: will trillich
Дата:
Сообщение: from string to table...?