Thread: CREATE RULE.. RETURNING?

CREATE RULE.. RETURNING?

From
Hannes Dorbath
Date:
> 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