@@ -681,7 +681,6 @@ const char *const config_group_names[] =
681
681
[RESOURCES_MEM ]= gettext_noop ("Resource Usage / Memory" ),
682
682
[RESOURCES_DISK ]= gettext_noop ("Resource Usage / Disk" ),
683
683
[RESOURCES_KERNEL ]= gettext_noop ("Resource Usage / Kernel Resources" ),
684
- [RESOURCES_VACUUM_DELAY ]= gettext_noop ("Resource Usage / Cost-Based Vacuum Delay" ),
685
684
[RESOURCES_BGWRITER ]= gettext_noop ("Resource Usage / Background Writer" ),
686
685
[RESOURCES_ASYNCHRONOUS ]= gettext_noop ("Resource Usage / Asynchronous Behavior" ),
687
686
[WAL_SETTINGS ]= gettext_noop ("Write-Ahead Log / Settings" ),
@@ -705,7 +704,9 @@ const char *const config_group_names[] =
705
704
[PROCESS_TITLE ]= gettext_noop ("Reporting and Logging / Process Title" ),
706
705
[STATS_MONITORING ]= gettext_noop ("Statistics / Monitoring" ),
707
706
[STATS_CUMULATIVE ]= gettext_noop ("Statistics / Cumulative Query and Index Statistics" ),
708
- [AUTOVACUUM ]= gettext_noop ("Autovacuum" ),
707
+ [VACUUM_AUTOVACUUM ]= gettext_noop ("Vacuuming / Automatic Vacuuming" ),
708
+ [VACUUM_COST_DELAY ]= gettext_noop ("Vacuuming / Cost-Based Vacuum Delay" ),
709
+ [VACUUM_FREEZING ]= gettext_noop ("Vacuuming / Freezing" ),
709
710
[CLIENT_CONN_STATEMENT ]= gettext_noop ("Client Connection Defaults / Statement Behavior" ),
710
711
[CLIENT_CONN_LOCALE ]= gettext_noop ("Client Connection Defaults / Locale and Formatting" ),
711
712
[CLIENT_CONN_PRELOAD ]= gettext_noop ("Client Connection Defaults / Shared Library Preloading" ),
@@ -1499,7 +1500,7 @@ struct config_bool ConfigureNamesBool[] =
1499
1500
},
1500
1501
1501
1502
{
1502
- {"autovacuum" ,PGC_SIGHUP ,AUTOVACUUM ,
1503
+ {"autovacuum" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
1503
1504
gettext_noop ("Starts the autovacuum subprocess." ),
1504
1505
NULL
1505
1506
},
@@ -2583,7 +2584,7 @@ struct config_int ConfigureNamesInt[] =
2583
2584
},
2584
2585
2585
2586
{
2586
- {"vacuum_cost_page_hit" ,PGC_USERSET ,RESOURCES_VACUUM_DELAY ,
2587
+ {"vacuum_cost_page_hit" ,PGC_USERSET ,VACUUM_COST_DELAY ,
2587
2588
gettext_noop ("Vacuum cost for a page found in the buffer cache." ),
2588
2589
NULL
2589
2590
},
@@ -2593,7 +2594,7 @@ struct config_int ConfigureNamesInt[] =
2593
2594
},
2594
2595
2595
2596
{
2596
- {"vacuum_cost_page_miss" ,PGC_USERSET ,RESOURCES_VACUUM_DELAY ,
2597
+ {"vacuum_cost_page_miss" ,PGC_USERSET ,VACUUM_COST_DELAY ,
2597
2598
gettext_noop ("Vacuum cost for a page not found in the buffer cache." ),
2598
2599
NULL
2599
2600
},
@@ -2603,7 +2604,7 @@ struct config_int ConfigureNamesInt[] =
2603
2604
},
2604
2605
2605
2606
{
2606
- {"vacuum_cost_page_dirty" ,PGC_USERSET ,RESOURCES_VACUUM_DELAY ,
2607
+ {"vacuum_cost_page_dirty" ,PGC_USERSET ,VACUUM_COST_DELAY ,
2607
2608
gettext_noop ("Vacuum cost for a page dirtied by vacuum." ),
2608
2609
NULL
2609
2610
},
@@ -2613,7 +2614,7 @@ struct config_int ConfigureNamesInt[] =
2613
2614
},
2614
2615
2615
2616
{
2616
- {"vacuum_cost_limit" ,PGC_USERSET ,RESOURCES_VACUUM_DELAY ,
2617
+ {"vacuum_cost_limit" ,PGC_USERSET ,VACUUM_COST_DELAY ,
2617
2618
gettext_noop ("Vacuum cost amount available before napping." ),
2618
2619
NULL
2619
2620
},
@@ -2623,7 +2624,7 @@ struct config_int ConfigureNamesInt[] =
2623
2624
},
2624
2625
2625
2626
{
2626
- {"autovacuum_vacuum_cost_limit" ,PGC_SIGHUP ,AUTOVACUUM ,
2627
+ {"autovacuum_vacuum_cost_limit" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
2627
2628
gettext_noop ("Vacuum cost amount available before napping, for autovacuum." ),
2628
2629
NULL
2629
2630
},
@@ -2734,7 +2735,7 @@ struct config_int ConfigureNamesInt[] =
2734
2735
},
2735
2736
2736
2737
{
2737
- {"vacuum_freeze_min_age" ,PGC_USERSET ,CLIENT_CONN_STATEMENT ,
2738
+ {"vacuum_freeze_min_age" ,PGC_USERSET ,VACUUM_FREEZING ,
2738
2739
gettext_noop ("Minimum age at which VACUUM should freeze a table row." ),
2739
2740
NULL
2740
2741
},
@@ -2744,7 +2745,7 @@ struct config_int ConfigureNamesInt[] =
2744
2745
},
2745
2746
2746
2747
{
2747
- {"vacuum_freeze_table_age" ,PGC_USERSET ,CLIENT_CONN_STATEMENT ,
2748
+ {"vacuum_freeze_table_age" ,PGC_USERSET ,VACUUM_FREEZING ,
2748
2749
gettext_noop ("Age at which VACUUM should scan whole table to freeze tuples." ),
2749
2750
NULL
2750
2751
},
@@ -2754,7 +2755,7 @@ struct config_int ConfigureNamesInt[] =
2754
2755
},
2755
2756
2756
2757
{
2757
- {"vacuum_multixact_freeze_min_age" ,PGC_USERSET ,CLIENT_CONN_STATEMENT ,
2758
+ {"vacuum_multixact_freeze_min_age" ,PGC_USERSET ,VACUUM_FREEZING ,
2758
2759
gettext_noop ("Minimum age at which VACUUM should freeze a MultiXactId in a table row." ),
2759
2760
NULL
2760
2761
},
@@ -2764,7 +2765,7 @@ struct config_int ConfigureNamesInt[] =
2764
2765
},
2765
2766
2766
2767
{
2767
- {"vacuum_multixact_freeze_table_age" ,PGC_USERSET ,CLIENT_CONN_STATEMENT ,
2768
+ {"vacuum_multixact_freeze_table_age" ,PGC_USERSET ,VACUUM_FREEZING ,
2768
2769
gettext_noop ("Multixact age at which VACUUM should scan whole table to freeze tuples." ),
2769
2770
NULL
2770
2771
},
@@ -2774,7 +2775,7 @@ struct config_int ConfigureNamesInt[] =
2774
2775
},
2775
2776
2776
2777
{
2777
- {"vacuum_failsafe_age" ,PGC_USERSET ,CLIENT_CONN_STATEMENT ,
2778
+ {"vacuum_failsafe_age" ,PGC_USERSET ,VACUUM_FREEZING ,
2778
2779
gettext_noop ("Age at which VACUUM should trigger failsafe to avoid a wraparound outage." ),
2779
2780
NULL
2780
2781
},
@@ -2783,7 +2784,7 @@ struct config_int ConfigureNamesInt[] =
2783
2784
NULL ,NULL ,NULL
2784
2785
},
2785
2786
{
2786
- {"vacuum_multixact_failsafe_age" ,PGC_USERSET ,CLIENT_CONN_STATEMENT ,
2787
+ {"vacuum_multixact_failsafe_age" ,PGC_USERSET ,VACUUM_FREEZING ,
2787
2788
gettext_noop ("Multixact age at which VACUUM should trigger failsafe to avoid a wraparound outage." ),
2788
2789
NULL
2789
2790
},
@@ -3407,7 +3408,7 @@ struct config_int ConfigureNamesInt[] =
3407
3408
},
3408
3409
3409
3410
{
3410
- {"autovacuum_naptime" ,PGC_SIGHUP ,AUTOVACUUM ,
3411
+ {"autovacuum_naptime" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
3411
3412
gettext_noop ("Time to sleep between autovacuum runs." ),
3412
3413
NULL ,
3413
3414
GUC_UNIT_S
@@ -3417,7 +3418,7 @@ struct config_int ConfigureNamesInt[] =
3417
3418
NULL ,NULL ,NULL
3418
3419
},
3419
3420
{
3420
- {"autovacuum_vacuum_threshold" ,PGC_SIGHUP ,AUTOVACUUM ,
3421
+ {"autovacuum_vacuum_threshold" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
3421
3422
gettext_noop ("Minimum number of tuple updates or deletes prior to vacuum." ),
3422
3423
NULL
3423
3424
},
@@ -3426,7 +3427,7 @@ struct config_int ConfigureNamesInt[] =
3426
3427
NULL ,NULL ,NULL
3427
3428
},
3428
3429
{
3429
- {"autovacuum_vacuum_insert_threshold" ,PGC_SIGHUP ,AUTOVACUUM ,
3430
+ {"autovacuum_vacuum_insert_threshold" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
3430
3431
gettext_noop ("Minimum number of tuple inserts prior to vacuum, or -1 to disable insert vacuums." ),
3431
3432
NULL
3432
3433
},
@@ -3435,7 +3436,7 @@ struct config_int ConfigureNamesInt[] =
3435
3436
NULL ,NULL ,NULL
3436
3437
},
3437
3438
{
3438
- {"autovacuum_analyze_threshold" ,PGC_SIGHUP ,AUTOVACUUM ,
3439
+ {"autovacuum_analyze_threshold" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
3439
3440
gettext_noop ("Minimum number of tuple inserts, updates, or deletes prior to analyze." ),
3440
3441
NULL
3441
3442
},
@@ -3445,7 +3446,7 @@ struct config_int ConfigureNamesInt[] =
3445
3446
},
3446
3447
{
3447
3448
/* see varsup.c for why this is PGC_POSTMASTER not PGC_SIGHUP */
3448
- {"autovacuum_freeze_max_age" ,PGC_POSTMASTER ,AUTOVACUUM ,
3449
+ {"autovacuum_freeze_max_age" ,PGC_POSTMASTER ,VACUUM_AUTOVACUUM ,
3449
3450
gettext_noop ("Age at which to autovacuum a table to prevent transaction ID wraparound." ),
3450
3451
NULL
3451
3452
},
@@ -3457,7 +3458,7 @@ struct config_int ConfigureNamesInt[] =
3457
3458
},
3458
3459
{
3459
3460
/* see multixact.c for why this is PGC_POSTMASTER not PGC_SIGHUP */
3460
- {"autovacuum_multixact_freeze_max_age" ,PGC_POSTMASTER ,AUTOVACUUM ,
3461
+ {"autovacuum_multixact_freeze_max_age" ,PGC_POSTMASTER ,VACUUM_AUTOVACUUM ,
3461
3462
gettext_noop ("Multixact age at which to autovacuum a table to prevent multixact wraparound." ),
3462
3463
NULL
3463
3464
},
@@ -3467,7 +3468,7 @@ struct config_int ConfigureNamesInt[] =
3467
3468
},
3468
3469
{
3469
3470
/* see max_connections */
3470
- {"autovacuum_worker_slots" ,PGC_POSTMASTER ,AUTOVACUUM ,
3471
+ {"autovacuum_worker_slots" ,PGC_POSTMASTER ,VACUUM_AUTOVACUUM ,
3471
3472
gettext_noop ("Sets the number of backend slots to allocate for autovacuum workers." ),
3472
3473
NULL
3473
3474
},
@@ -3476,7 +3477,7 @@ struct config_int ConfigureNamesInt[] =
3476
3477
NULL ,NULL ,NULL
3477
3478
},
3478
3479
{
3479
- {"autovacuum_max_workers" ,PGC_SIGHUP ,AUTOVACUUM ,
3480
+ {"autovacuum_max_workers" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
3480
3481
gettext_noop ("Sets the maximum number of simultaneously running autovacuum worker processes." ),
3481
3482
NULL
3482
3483
},
@@ -3941,7 +3942,7 @@ struct config_real ConfigureNamesReal[] =
3941
3942
},
3942
3943
3943
3944
{
3944
- {"vacuum_cost_delay" ,PGC_USERSET ,RESOURCES_VACUUM_DELAY ,
3945
+ {"vacuum_cost_delay" ,PGC_USERSET ,VACUUM_COST_DELAY ,
3945
3946
gettext_noop ("Vacuum cost delay in milliseconds." ),
3946
3947
NULL ,
3947
3948
GUC_UNIT_MS
@@ -3952,7 +3953,7 @@ struct config_real ConfigureNamesReal[] =
3952
3953
},
3953
3954
3954
3955
{
3955
- {"autovacuum_vacuum_cost_delay" ,PGC_SIGHUP ,AUTOVACUUM ,
3956
+ {"autovacuum_vacuum_cost_delay" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
3956
3957
gettext_noop ("Vacuum cost delay in milliseconds, for autovacuum." ),
3957
3958
NULL ,
3958
3959
GUC_UNIT_MS
@@ -3963,7 +3964,7 @@ struct config_real ConfigureNamesReal[] =
3963
3964
},
3964
3965
3965
3966
{
3966
- {"autovacuum_vacuum_scale_factor" ,PGC_SIGHUP ,AUTOVACUUM ,
3967
+ {"autovacuum_vacuum_scale_factor" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
3967
3968
gettext_noop ("Number of tuple updates or deletes prior to vacuum as a fraction of reltuples." ),
3968
3969
NULL
3969
3970
},
@@ -3973,7 +3974,7 @@ struct config_real ConfigureNamesReal[] =
3973
3974
},
3974
3975
3975
3976
{
3976
- {"autovacuum_vacuum_insert_scale_factor" ,PGC_SIGHUP ,AUTOVACUUM ,
3977
+ {"autovacuum_vacuum_insert_scale_factor" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
3977
3978
gettext_noop ("Number of tuple inserts prior to vacuum as a fraction of reltuples." ),
3978
3979
NULL
3979
3980
},
@@ -3983,7 +3984,7 @@ struct config_real ConfigureNamesReal[] =
3983
3984
},
3984
3985
3985
3986
{
3986
- {"autovacuum_analyze_scale_factor" ,PGC_SIGHUP ,AUTOVACUUM ,
3987
+ {"autovacuum_analyze_scale_factor" ,PGC_SIGHUP ,VACUUM_AUTOVACUUM ,
3987
3988
gettext_noop ("Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples." ),
3988
3989
NULL
3989
3990
},