1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-28 05:21:27 +03:00

Repair last commit's new wait_for_catchup() call.

The function had a different API in v10.  Per buildfarm.
This commit is contained in:
Noah Misch 2020-04-13 21:10:06 -07:00
parent ab7699e86c
commit aca51181ba

View File

@ -130,7 +130,8 @@ cmp_ok(
'xmin on physical slot must not be lower than catalog_xmin');
$node_master->safe_psql('postgres', 'CHECKPOINT');
$node_master->wait_for_catchup($node_replica, 'write');
$node_master->wait_for_catchup($node_replica, 'write',
$node_master->lsn('insert'));
# Boom, crash
$node_master->stop('immediate');