diff options
author | Amit Kapila <akapila@postgresql.org> | 2024-07-01 11:36:56 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2024-07-01 11:36:56 +0530 |
commit | 2357c9223b710c91b0f05cbc56bd435baeac961f (patch) | |
tree | aa6c7bd96ebff42cab21978962dede203e82b61e /src/backend/replication/logical | |
parent | 0c3930d0768943ad1dedb5a6ace250ce9b65915c (diff) | |
download | postgresql-2357c9223b710c91b0f05cbc56bd435baeac961f.tar.gz postgresql-2357c9223b710c91b0f05cbc56bd435baeac961f.zip |
Rename standby_slot_names to synchronized_standby_slots.
The standby_slot_names GUC allows the specification of physical standby
slots that must be synchronized before the logical walsenders associated
with logical failover slots. However, for this purpose, the GUC name is
too generic.
Author: Hou Zhijie
Reviewed-by: Bertrand Drouvot, Masahiko Sawada
Backpatch-through: 17
Discussion: https://postgr.es/m/ZnWeUgdHong93fQN@momjian.us
Diffstat (limited to 'src/backend/replication/logical')
-rw-r--r-- | src/backend/replication/logical/slotsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/slotsync.c b/src/backend/replication/logical/slotsync.c index 56d3fb5d0e5..94896aec284 100644 --- a/src/backend/replication/logical/slotsync.c +++ b/src/backend/replication/logical/slotsync.c @@ -620,8 +620,8 @@ synchronize_one_slot(RemoteSlot *remote_slot, Oid remote_dbid) if (remote_slot->confirmed_lsn > latestFlushPtr) { /* - * Can get here only if GUC 'standby_slot_names' on the primary server - * was not configured correctly. + * Can get here only if GUC 'synchronized_standby_slots' on the + * primary server was not configured correctly. */ ereport(AmLogicalSlotSyncWorkerProcess() ? LOG : ERROR, errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), |