1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Add max_sync_workers_per_subscription to postgresql.conf.sample.

This commit also does

- add REPLICATION_SUBSCRIBERS into config_group
- mark max_logical_replication_workers and max_sync_workers_per_subscription
  as REPLICATION_SUBSCRIBERS parameters
- move those parameters into "Subscribers" section in postgresql.conf.sample

Author: Masahiko Sawada, Petr Jelinek and me
Reported-by: Masahiko Sawada
Discussion: http://postgr.es/m/CAD21AoAonSCoa=v=87ZO3vhfUZA1k_E2XRNHTt=xioWGUa+0ug@mail.gmail.com
This commit is contained in:
Fujii Masao
2017-04-12 00:10:54 +09:00
parent 1c1a4726eb
commit ff7bce1743
3 changed files with 12 additions and 3 deletions

View File

@ -610,6 +610,8 @@ const char *const config_group_names[] =
gettext_noop("Replication / Master Server"),
/* REPLICATION_STANDBY */
gettext_noop("Replication / Standby Servers"),
/* REPLICATION_SUBSCRIBERS */
gettext_noop("Replication / Subscribers"),
/* QUERY_TUNING */
gettext_noop("Query Tuning"),
/* QUERY_TUNING_METHOD */
@ -2511,7 +2513,7 @@ static struct config_int ConfigureNamesInt[] =
{
{"max_logical_replication_workers",
PGC_POSTMASTER,
RESOURCES_ASYNCHRONOUS,
REPLICATION_SUBSCRIBERS,
gettext_noop("Maximum number of logical replication worker processes."),
NULL,
},
@ -2523,7 +2525,7 @@ static struct config_int ConfigureNamesInt[] =
{
{"max_sync_workers_per_subscription",
PGC_SIGHUP,
RESOURCES_ASYNCHRONOUS,
REPLICATION_SUBSCRIBERS,
gettext_noop("Maximum number of table synchronization workers per subscription."),
NULL,
},