Marko Tiikkaja <marko@joh.to> wrote:
> Sounds like in this case you'd only use set-oriented programming
> at the end of the transaction, no?
I guess -- more properly I would say "in the final database
transaction for that financial transaction." And no, that never
made me wish that plpgsql functions defaulted to throwing errors
for DML statements that affected more than one row.
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company