diff options
author | Andres Freund | 2020-06-14 18:47:37 +0000 |
---|---|---|
committer | Andres Freund | 2020-07-08 19:39:56 +0000 |
commit | 229f8c219f8fffacc253eca6023eab10a16eb009 (patch) | |
tree | 5c3df9c9ad633caa94566aaa620b126189f97126 /src/test/perl/PostgresNode.pm | |
parent | 2661a793ff59149af1d844d6be504e421c04733e (diff) |
tap tests: replace 'master' with 'primary'.
We've largely replaced master with primary in docs etc, but tap test
still widely used master.
Author: Andres Freund
Reviewed-By: David Steele
Discussion: https://postgr.es/m/20200615182235.x7lch5n6kcjq4aue@alap3.anarazel.de
Diffstat (limited to 'src/test/perl/PostgresNode.pm')
-rw-r--r-- | src/test/perl/PostgresNode.pm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index 1407359aef6..b216bbbe4bb 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -1822,11 +1822,11 @@ sub run_log Look up WAL locations on the server: - * insert location (master only, error on replica) - * write location (master only, error on replica) - * flush location (master only, error on replica) - * receive location (always undef on master) - * replay location (always undef on master) + * insert location (primary only, error on replica) + * write location (primary only, error on replica) + * flush location (primary only, error on replica) + * receive location (always undef on primary) + * replay location (always undef on primary) mode must be specified. @@ -1876,7 +1876,7 @@ poll_query_until timeout. Requires that the 'postgres' db exists and is accessible. -target_lsn may be any arbitrary lsn, but is typically $master_node->lsn('insert'). +target_lsn may be any arbitrary lsn, but is typically $primary_node->lsn('insert'). If omitted, pg_current_wal_lsn() is used. This is not a test. It die()s on failure. @@ -1935,7 +1935,7 @@ This is not a test. It die()s on failure. If the slot is not active, will time out after poll_query_until's timeout. -target_lsn may be any arbitrary lsn, but is typically $master_node->lsn('insert'). +target_lsn may be any arbitrary lsn, but is typically $primary_node->lsn('insert'). Note that for logical slots, restart_lsn is held down by the oldest in-progress tx. |