aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc_tables.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2024-07-01 11:36:56 +0530
committerAmit Kapila <akapila@postgresql.org>2024-07-01 11:36:56 +0530
commit2357c9223b710c91b0f05cbc56bd435baeac961f (patch)
treeaa6c7bd96ebff42cab21978962dede203e82b61e /src/backend/utils/misc/guc_tables.c
parent0c3930d0768943ad1dedb5a6ace250ce9b65915c (diff)
downloadpostgresql-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/utils/misc/guc_tables.c')
-rw-r--r--src/backend/utils/misc/guc_tables.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/misc/guc_tables.c b/src/backend/utils/misc/guc_tables.c
index 46c258be282..6f4188599b1 100644
--- a/src/backend/utils/misc/guc_tables.c
+++ b/src/backend/utils/misc/guc_tables.c
@@ -4692,7 +4692,7 @@ struct config_string ConfigureNamesString[] =
},
{
- {"standby_slot_names", PGC_SIGHUP, REPLICATION_PRIMARY,
+ {"synchronized_standby_slots", PGC_SIGHUP, REPLICATION_PRIMARY,
gettext_noop("Lists streaming replication standby server slot "
"names that logical WAL sender processes will wait for."),
gettext_noop("Logical WAL sender processes will send decoded "
@@ -4700,9 +4700,9 @@ struct config_string ConfigureNamesString[] =
"replication slots confirm receiving WAL."),
GUC_LIST_INPUT
},
- &standby_slot_names,
+ &synchronized_standby_slots,
"",
- check_standby_slot_names, assign_standby_slot_names, NULL
+ check_synchronized_standby_slots, assign_synchronized_standby_slots, NULL
},
/* End-of-list marker */