CREATE RULE.. RETURNING?

Поиск
Список
Период
Сортировка
От Hannes Dorbath
Тема CREATE RULE.. RETURNING?
Дата
Msg-id 46C56374.5010708@theendofthetunnel.de
обсуждение исходный текст
Список pgsql-general
> In a rule for INSERT, UPDATE, or DELETE on a view, you can add a RETURNING clause that emits the view's columns. This
clausewill be used to compute the outputs if the rule is triggered by an INSERT RETURNING, UPDATE RETURNING, or DELETE
RETURNINGcommand respectively. 

Can someone enlighten me about the exact syntax to use this feature? I
just end up with syntax errors.

Thanks in advance.


--
Regards,
Hannes Dorbath

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

Предыдущее
От: "Webb Sprague"
Дата:
Сообщение: Re: [RESEND] Transaction auto-abort causes grief with Spring Framework
Следующее
От: "Mikko Partio"
Дата:
Сообщение: Re: PostgreSQL clustering (shared disk)