summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2018-05-04 00:29:19 +0000
committerPeter Eisentraut2018-05-04 00:29:54 +0000
commit7d8679975f650d1150d706c8b6a5f04f08dcdd00 (patch)
tree3e389898dc3b0e6ad90dbd7775ddf1ecf78d3e68
parentbad51a49a4c0ee2dd87191f8aea5ca839c9dbf15 (diff)
Update expected files for older Python versions
neglected in commit fa03769e4c4bf0911da71fba2501006b05ea195a
-rw-r--r--src/pl/plpython/expected/plpython_subtransaction_0.out2
-rw-r--r--src/pl/plpython/expected/plpython_subtransaction_5.out2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpython/expected/plpython_subtransaction_0.out b/src/pl/plpython/expected/plpython_subtransaction_0.out
index e6cc38a033..cc6d9c0e93 100644
--- a/src/pl/plpython/expected/plpython_subtransaction_0.out
+++ b/src/pl/plpython/expected/plpython_subtransaction_0.out
@@ -128,7 +128,7 @@ with plpy.subtransaction():
except plpy.SPIError, e:
if not swallow:
raise
- plpy.notice("Swallowed %r" % e)
+ plpy.notice("Swallowed %s(%r)" % (e.__class__.__name__, e.args[0]))
return "ok"
$$ LANGUAGE plpythonu;
ERROR: could not compile PL/Python function "subtransaction_nested_test"
diff --git a/src/pl/plpython/expected/plpython_subtransaction_5.out b/src/pl/plpython/expected/plpython_subtransaction_5.out
index 6fbafa3166..c3be130268 100644
--- a/src/pl/plpython/expected/plpython_subtransaction_5.out
+++ b/src/pl/plpython/expected/plpython_subtransaction_5.out
@@ -128,7 +128,7 @@ with plpy.subtransaction():
except plpy.SPIError, e:
if not swallow:
raise
- plpy.notice("Swallowed %r" % e)
+ plpy.notice("Swallowed %s(%r)" % (e.__class__.__name__, e.args[0]))
return "ok"
$$ LANGUAGE plpythonu;
ERROR: could not compile PL/Python function "subtransaction_nested_test"