File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ create or replace function pythonomous() returns void as $$
173
173
try:
174
174
with plpy.autonomous():
175
175
plpy.execute("insert into atx_test values ('bsd', 456)")
176
- except plpy.SPIError, e:
176
+ except ( plpy.SPIError, e) :
177
177
print("error: %s" % e.args)
178
178
179
179
plpy.execute("insert into atx_test values ('csd', 'csd')")
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ create or replace function pythonomous() returns void as $$
153
153
try:
154
154
with plpy .autonomous ():
155
155
plpy .execute (" insert into atx_test values ('bsd', 456)" )
156
- except plpy .SPIError , e:
156
+ except ( plpy .SPIError , e) :
157
157
print(" error: %s" % e .args )
158
158
159
159
plpy .execute (" insert into atx_test values ('csd', 'csd')" )
You can’t perform that action at this time.
0 commit comments