diff options
author | Peter Eisentraut | 2011-02-02 20:06:10 +0000 |
---|---|---|
committer | Peter Eisentraut | 2011-02-02 20:06:10 +0000 |
commit | 0c5933d0104c1788479592a84cca53da357381f9 (patch) | |
tree | f177882aa761e677620b820e6dbb214b5ba9e0ae /contrib/sepgsql/hooks.c | |
parent | c73fe72e2735d20aa132640d8fab4e0eca1ced95 (diff) |
Wrap PL/Python SPI calls into subtransactions
This allows the language-specific try/catch construct to catch and
handle exceptions arising from SPI calls, matching the behavior of
other PLs.
As an additional bonus you no longer get all the ugly "unrecognized
error in PLy_spi_execute_query" errors.
Jan UrbaĆski, reviewed by Steve Singer
Diffstat (limited to 'contrib/sepgsql/hooks.c')
0 files changed, 0 insertions, 0 deletions