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

Commit0c3aff7

Browse files
committed
Fix tests.pgpro2068.BugTest.test_minrecpoint_on_replica on 9.6
1 parentbd81f7f commit0c3aff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tests/pgpro2068.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def test_minrecpoint_on_replica(self):
144144
DO
145145
$$
146146
relations = plpy.execute("select class.oid from pg_class class WHERE class.relkind IN ('r', 'i', 't', 'm') and class.relpersistence = 'p'")
147-
current_xlog_lsn = plpy.execute("SELECTmin_recovery_end_lsn as lsn FROM pg_control_recovery()")[0]['lsn']
147+
current_xlog_lsn = plpy.execute("SELECTmin_recovery_end_location as lsn FROM pg_control_recovery()")[0]['lsn']
148148
plpy.notice('CURRENT LSN: {0}'.format(current_xlog_lsn))
149149
found_corruption = False
150150
for relation in relations:
@@ -158,7 +158,7 @@ def test_minrecpoint_on_replica(self):
158158
found_corruption = True
159159
if found_corruption:
160160
plpy.error('Found Corruption')
161-
$$ LANGUAGEplpythonu;
161+
$$ LANGUAGEplpython3u;
162162
'''
163163
else:
164164
script='''

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp