"Jaiswal Dhaval Sudhirkumar" <[email protected]> writes:
> ERROR: SPI_execute_plan_with_paramlist failed executing query "SAVEPOINT
> my_savepoint": SPI_ERROR_TRANSACTION
This is not a bug. It's an extremely well-documented limitation that
you can't use those commands in a plpgsql function.
You can get the effect of a savepoint using a BEGIN/EXCEPTION block.
regards, tom lane
--
Sent via pgsql-bugs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs