summaryrefslogtreecommitdiff
path: root/contrib/sepgsql/hooks.c
diff options
context:
space:
mode:
authorPeter Eisentraut2011-02-02 20:06:10 +0000
committerPeter Eisentraut2011-02-02 20:06:10 +0000
commit0c5933d0104c1788479592a84cca53da357381f9 (patch)
treef177882aa761e677620b820e6dbb214b5ba9e0ae /contrib/sepgsql/hooks.c
parentc73fe72e2735d20aa132640d8fab4e0eca1ced95 (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