summaryrefslogtreecommitdiff
path: root/src/pl/plpython/expected/plpython_spi.out
diff options
context:
space:
mode:
Diffstat (limited to 'src/pl/plpython/expected/plpython_spi.out')
-rw-r--r--src/pl/plpython/expected/plpython_spi.out6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pl/plpython/expected/plpython_spi.out b/src/pl/plpython/expected/plpython_spi.out
index e54dca9e2e..a09df68c7d 100644
--- a/src/pl/plpython/expected/plpython_spi.out
+++ b/src/pl/plpython/expected/plpython_spi.out
@@ -26,7 +26,7 @@ CREATE FUNCTION spi_prepared_plan_test_one(a text) RETURNS text
try:
rv = plpy.execute(SD["myplan"], [a])
return "there are " + str(rv[0]["count"]) + " " + str(a) + "s"
-except Exception, ex:
+except Exception as ex:
plpy.error(str(ex))
return None
'
@@ -39,7 +39,7 @@ CREATE FUNCTION spi_prepared_plan_test_two(a text) RETURNS text
try:
rv = SD["myplan"].execute([a])
return "there are " + str(rv[0]["count"]) + " " + str(a) + "s"
-except Exception, ex:
+except Exception as ex:
plpy.error(str(ex))
return None
'
@@ -53,7 +53,7 @@ try:
rv = plpy.execute(SD["myplan"])
if len(rv):
return rv[0]["count"]
-except Exception, ex:
+except Exception as ex:
plpy.error(str(ex))
return None
'