@@ -683,6 +683,7 @@ const char *const config_group_names[] =
683
683
[RESOURCES_KERNEL ] = gettext_noop ("Resource Usage / Kernel Resources" ),
684
684
[RESOURCES_BGWRITER ] = gettext_noop ("Resource Usage / Background Writer" ),
685
685
[RESOURCES_ASYNCHRONOUS ] = gettext_noop ("Resource Usage / Asynchronous Behavior" ),
686
+ [RESOURCES_WORKER_PROCESSES ] = gettext_noop ("Resource Usage / Worker Processes" ),
686
687
[WAL_SETTINGS ] = gettext_noop ("Write-Ahead Log / Settings" ),
687
688
[WAL_CHECKPOINTS ] = gettext_noop ("Write-Ahead Log / Checkpoints" ),
688
689
[WAL_ARCHIVING ] = gettext_noop ("Write-Ahead Log / Archiving" ),
@@ -1962,7 +1963,7 @@ struct config_bool ConfigureNamesBool[] =
1962
1963
},
1963
1964
1964
1965
{
1965
- {"parallel_leader_participation" , PGC_USERSET , RESOURCES_ASYNCHRONOUS ,
1966
+ {"parallel_leader_participation" , PGC_USERSET , RESOURCES_WORKER_PROCESSES ,
1966
1967
gettext_noop ("Controls whether Gather and Gather Merge also run subplans." ),
1967
1968
gettext_noop ("Should gather nodes also run subplans or just gather tuples?" ),
1968
1969
GUC_EXPLAIN
@@ -3234,7 +3235,7 @@ struct config_int ConfigureNamesInt[] =
3234
3235
{
3235
3236
{"max_worker_processes" ,
3236
3237
PGC_POSTMASTER ,
3237
- RESOURCES_ASYNCHRONOUS ,
3238
+ RESOURCES_WORKER_PROCESSES ,
3238
3239
gettext_noop ("Maximum number of concurrent worker processes." ),
3239
3240
NULL ,
3240
3241
},
@@ -3496,7 +3497,7 @@ struct config_int ConfigureNamesInt[] =
3496
3497
},
3497
3498
3498
3499
{
3499
- {"max_parallel_maintenance_workers" , PGC_USERSET , RESOURCES_ASYNCHRONOUS ,
3500
+ {"max_parallel_maintenance_workers" , PGC_USERSET , RESOURCES_WORKER_PROCESSES ,
3500
3501
gettext_noop ("Sets the maximum number of parallel processes per maintenance operation." ),
3501
3502
NULL
3502
3503
},
@@ -3506,7 +3507,7 @@ struct config_int ConfigureNamesInt[] =
3506
3507
},
3507
3508
3508
3509
{
3509
- {"max_parallel_workers_per_gather" , PGC_USERSET , RESOURCES_ASYNCHRONOUS ,
3510
+ {"max_parallel_workers_per_gather" , PGC_USERSET , RESOURCES_WORKER_PROCESSES ,
3510
3511
gettext_noop ("Sets the maximum number of parallel processes per executor node." ),
3511
3512
NULL ,
3512
3513
GUC_EXPLAIN
@@ -3517,7 +3518,7 @@ struct config_int ConfigureNamesInt[] =
3517
3518
},
3518
3519
3519
3520
{
3520
- {"max_parallel_workers" , PGC_USERSET , RESOURCES_ASYNCHRONOUS ,
3521
+ {"max_parallel_workers" , PGC_USERSET , RESOURCES_WORKER_PROCESSES ,
3521
3522
gettext_noop ("Sets the maximum number of parallel workers that can be active at one time." ),
3522
3523
NULL ,
3523
3524
GUC_EXPLAIN
0 commit comments