Joshua D. Drake wrote:
> If you are using savepoints you can rollback to a specific point of
> a parent transaction.
Although you can't use savepoints (explicitly) in functions. PL/PgSQL
exceptions (which are actually implemented internally via savepoints)
can be used to achieve a similar effect.
-Neil