From a1ef920e27ba6ab3602aaf6d6751d8628fac1af8 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 7 Aug 2017 17:42:47 -0400 Subject: Remove uses of "slave" in replication contexts This affects mostly code comments, some documentation, and tests. Official APIs already used "standby". --- src/test/modules/commit_ts/t/002_standby.pl | 4 ++-- src/test/modules/commit_ts/t/003_standby_2.pl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/modules/commit_ts') diff --git a/src/test/modules/commit_ts/t/002_standby.pl b/src/test/modules/commit_ts/t/002_standby.pl index 1437519aa19..83e851954b3 100644 --- a/src/test/modules/commit_ts/t/002_standby.pl +++ b/src/test/modules/commit_ts/t/002_standby.pl @@ -34,7 +34,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"; my $standby_ts = $standby->safe_psql('postgres', qq{select ts.* from pg_class, pg_xact_commit_timestamp(xmin) ts where relname = 't10'} @@ -47,7 +47,7 @@ $master->safe_psql('postgres', 'checkpoint'); $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'); # This one should raise an error now diff --git a/src/test/modules/commit_ts/t/003_standby_2.pl b/src/test/modules/commit_ts/t/003_standby_2.pl index c3000f5b4c6..27494709e17 100644 --- a/src/test/modules/commit_ts/t/003_standby_2.pl +++ b/src/test/modules/commit_ts/t/003_standby_2.pl @@ -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; -- cgit v1.2.3