File tree 1 file changed +2
-2
lines changed
Filter options
1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def test_minrecpoint_on_replica(self):
144
144
DO
145
145
$$
146
146
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("SELECT min_recovery_end_lsn as lsn FROM pg_control_recovery()")[0]['lsn']
147
+ current_xlog_lsn = plpy.execute("SELECT min_recovery_end_location as lsn FROM pg_control_recovery()")[0]['lsn']
148
148
plpy.notice('CURRENT LSN: {0}'.format(current_xlog_lsn))
149
149
found_corruption = False
150
150
for relation in relations:
@@ -158,7 +158,7 @@ def test_minrecpoint_on_replica(self):
158
158
found_corruption = True
159
159
if found_corruption:
160
160
plpy.error('Found Corruption')
161
- $$ LANGUAGE plpythonu ;
161
+ $$ LANGUAGE plpython3u ;
162
162
'''
163
163
else :
164
164
script = '''
You can’t perform that action at this time.
0 commit comments