From 229f8c219f8fffacc253eca6023eab10a16eb009 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sun, 14 Jun 2020 11:47:37 -0700 Subject: 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 --- src/test/perl/PostgresNode.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/test/perl/PostgresNode.pm') 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. -- cgit v1.2.3