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

Commitfab6ca2

Browse files
committed
hstore_plpython: Fix regression tests under Python 3
1 parente6dc503 commitfab6ca2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎contrib/hstore_plpython/expected/hstore_plpython.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LANGUAGE plpythonu
66
TRANSFORM FOR TYPE hstore
77
AS $$
88
assert isinstance(val, dict)
9-
i = val.items()
9+
i =list(val.items())
1010
i.sort()
1111
plpy.info(i)
1212
return len(val)
@@ -25,7 +25,7 @@ LANGUAGE plpython2u
2525
TRANSFORM FOR TYPE hstore
2626
AS $$
2727
assert isinstance(val, dict)
28-
i = val.items()
28+
i =list(val.items())
2929
i.sort()
3030
plpy.info(i)
3131
return len(val)

‎contrib/hstore_plpython/sql/hstore_plpython.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LANGUAGE plpythonu
88
TRANSFORM FOR TYPE hstore
99
AS $$
1010
assert isinstance(val, dict)
11-
i=val.items()
11+
i=list(val.items())
1212
i.sort()
1313
plpy.info(i)
1414
return len(val)
@@ -23,7 +23,7 @@ LANGUAGE plpython2u
2323
TRANSFORM FOR TYPE hstore
2424
AS $$
2525
assert isinstance(val, dict)
26-
i=val.items()
26+
i=list(val.items())
2727
i.sort()
2828
plpy.info(i)
2929
return len(val)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp