David Fetter <david@fetter.org> writes:
>> > UPDATE ... RETURNING OLD
> There are several more DML operations with odd inability to return
> rows, but UPDATE's the one that really stands out, and is a bite-sized
> chunk in the sense of having a relatively small scope of design and
> not touching parts of the system unless they use the new grammar.
Which makes me think about having OLD and NEW "relations" available in
per statement triggers, too. Would that be a SoC sized projects? Maybe
if the relation is simply a SRF…
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support