mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove uses of "slave" in replication contexts
This affects mostly code comments, some documentation, and tests. Official APIs already used "standby".
This commit is contained in:
@ -33,7 +33,7 @@ my $master_lsn =
|
||||
$master->safe_psql('postgres', 'select pg_current_wal_lsn()');
|
||||
$standby->poll_query_until('postgres',
|
||||
qq{SELECT '$master_lsn'::pg_lsn <= pg_last_wal_replay_lsn()})
|
||||
or die "slave never caught up";
|
||||
or die "standby never caught up";
|
||||
|
||||
$standby->safe_psql('postgres', 'checkpoint');
|
||||
$standby->restart;
|
||||
|
Reference in New Issue
Block a user