diff options
author | Andres Freund <andres@anarazel.de> | 2020-06-14 14:05:18 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2020-07-08 12:57:23 -0700 |
commit | 5e7bbb528638c0f6d585bab107ec7a19e3a39deb (patch) | |
tree | c01d61e45b23ef760e4225538ff24277346e34de /src/backend/utils/misc | |
parent | 229f8c219f8fffacc253eca6023eab10a16eb009 (diff) | |
download | postgresql-5e7bbb528638c0f6d585bab107ec7a19e3a39deb.tar.gz postgresql-5e7bbb528638c0f6d585bab107ec7a19e3a39deb.zip |
code: replace 'master' with 'primary' where appropriate.
Also changed "in the primary" to "on the primary", and added a few
"the" before "primary".
Author: Andres Freund
Reviewed-By: David Steele
Discussion: https://postgr.es/m/20200615182235.x7lch5n6kcjq4aue@alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/misc')
-rw-r--r-- | src/backend/utils/misc/guc.c | 8 | ||||
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 3a802d8627d..9ff7f013c56 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -708,8 +708,8 @@ const char *const config_group_names[] = gettext_noop("Replication"), /* REPLICATION_SENDING */ gettext_noop("Replication / Sending Servers"), - /* REPLICATION_MASTER */ - gettext_noop("Replication / Master Server"), + /* REPLICATION_PRIMARY */ + gettext_noop("Replication / Primary Server"), /* REPLICATION_STANDBY */ gettext_noop("Replication / Standby Servers"), /* REPLICATION_SUBSCRIBERS */ @@ -2549,7 +2549,7 @@ static struct config_int ConfigureNamesInt[] = }, { - {"vacuum_defer_cleanup_age", PGC_SIGHUP, REPLICATION_MASTER, + {"vacuum_defer_cleanup_age", PGC_SIGHUP, REPLICATION_PRIMARY, gettext_noop("Number of transactions by which VACUUM and HOT cleanup should be deferred, if any."), NULL }, @@ -4292,7 +4292,7 @@ static struct config_string ConfigureNamesString[] = }, { - {"synchronous_standby_names", PGC_SIGHUP, REPLICATION_MASTER, + {"synchronous_standby_names", PGC_SIGHUP, REPLICATION_PRIMARY, gettext_noop("Number of synchronous standbys and list of names of potential synchronous ones."), NULL, GUC_LIST_INPUT diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 0d98e546a6b..e430e33c7b4 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -284,7 +284,7 @@ # - Sending Servers - -# Set these on the master and on any standby that will send replication data. +# Set these on the primary and on any standby that will send replication data. #max_wal_senders = 10 # max number of walsender processes # (change requires restart) @@ -297,7 +297,7 @@ #track_commit_timestamp = off # collect timestamp of transaction commit # (change requires restart) -# - Master Server - +# - Primary Server - # These settings are ignored on a standby server. @@ -309,7 +309,7 @@ # - Standby Servers - -# These settings are ignored on a master server. +# These settings are ignored on a primary server. #primary_conninfo = '' # connection string to sending server #primary_slot_name = '' # replication slot on sending server @@ -329,7 +329,7 @@ #hot_standby_feedback = off # send info from standby to prevent # query conflicts #wal_receiver_timeout = 60s # time that receiver waits for - # communication from master + # communication from primary # in milliseconds; 0 disables #wal_retrieve_retry_interval = 5s # time to wait before retrying to # retrieve WAL after a failed attempt |