Closed GoogleCodeExporter closed 9 years ago
This isn't needed. From
[http://www.postgresql.org/docs/8.2/interactive/plpgsql-structure.html The
PL/pgSQL]
manual
Functions and trigger procedures are always executed within a transaction
established
by an outer query — they cannot start or commit that transaction, since there
would
be no context for them to execute in. However, a block containing an EXCEPTION
clause
effectively forms a subtransaction that can be rolled back without affecting the
outer transaction
Original comment by peter.st...@1ab.ltd.uk
on 7 Feb 2010 at 6:46
Original issue reported on code.google.com by
peter.st...@1ab.ltd.uk
on 7 Feb 2010 at 9:54