1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

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
This commit is contained in:
Amit Kapila
2024-07-01 11:36:56 +05:30
parent 0c3930d076
commit 2357c9223b
14 changed files with 115 additions and 112 deletions

View File

@ -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 */