Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82dd94d

Browse files
committed
Make atx.sql compatible with python3
1 parente6d197e commit82dd94d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/test/regress/expected/atx.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ create or replace function pythonomous() returns void as $$
173173
try:
174174
with plpy.autonomous():
175175
plpy.execute("insert into atx_test values ('bsd', 456)")
176-
except plpy.SPIError, e:
176+
except(plpy.SPIError, e):
177177
print("error: %s" % e.args)
178178

179179
plpy.execute("insert into atx_test values ('csd', 'csd')")

‎src/test/regress/sql/atx.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ create or replace function pythonomous() returns void as $$
153153
try:
154154
withplpy.autonomous():
155155
plpy.execute("insert into atx_test values ('bsd', 456)")
156-
exceptplpy.SPIError, e:
156+
except(plpy.SPIError, e):
157157
print("error: %s" %e.args)
158158

159159
plpy.execute("insert into atx_test values ('csd', 'csd')")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp