Skip to content

Commit 186493c

Browse files
committed
Change CFS options catageory from USERSET to SIGHUP
1 parent ad771ac commit 186493c

File tree

1 file changed

+7
-7
lines changed
  • src/backend/utils/misc

1 file changed

+7
-7
lines changed

src/backend/utils/misc/guc.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@ static struct config_bool ConfigureNamesBool[] =
16931693
},
16941694

16951695
{
1696-
{"cfs_gc", PGC_USERSET, UNGROUPED,
1696+
{"cfs_gc", PGC_SIGHUP, UNGROUPED,
16971697
gettext_noop("Enable garbage collection of compressed pages"),
16981698
NULL,
16991699
},
@@ -1703,7 +1703,7 @@ static struct config_bool ConfigureNamesBool[] =
17031703
},
17041704

17051705
{
1706-
{"cfs_gc_verify_file", PGC_USERSET, UNGROUPED,
1706+
{"cfs_gc_verify_file", PGC_SIGHUP, UNGROUPED,
17071707
gettext_noop("Verify correctness of data written by GC"),
17081708
NULL,
17091709
},
@@ -2826,7 +2826,7 @@ static struct config_int ConfigureNamesInt[] =
28262826
},
28272827

28282828
{
2829-
{"cfs_level", PGC_USERSET, UNGROUPED,
2829+
{"cfs_level", PGC_SIGHUP, UNGROUPED,
28302830
gettext_noop("CFS compression level: 0 - no compression, 1 - maximal speed,"
28312831
"other possible values depend on the specific algorithm."),
28322832
NULL,
@@ -2838,7 +2838,7 @@ static struct config_int ConfigureNamesInt[] =
28382838
},
28392839

28402840
{
2841-
{"cfs_gc_threshold", PGC_USERSET, UNGROUPED,
2841+
{"cfs_gc_threshold", PGC_SIGHUP, UNGROUPED,
28422842
gettext_noop("Minimum percent of garbage blocks in the file prior to garbage collection"),
28432843
NULL,
28442844
0
@@ -2849,7 +2849,7 @@ static struct config_int ConfigureNamesInt[] =
28492849
},
28502850

28512851
{
2852-
{"cfs_gc_period", PGC_USERSET, UNGROUPED,
2852+
{"cfs_gc_period", PGC_SIGHUP, UNGROUPED,
28532853
gettext_noop("Time to sleep between GC runs in milliseconds"),
28542854
NULL,
28552855
GUC_UNIT_MS
@@ -2860,7 +2860,7 @@ static struct config_int ConfigureNamesInt[] =
28602860
},
28612861

28622862
{
2863-
{"cfs_gc_delay", PGC_USERSET, UNGROUPED,
2863+
{"cfs_gc_delay", PGC_SIGHUP, UNGROUPED,
28642864
gettext_noop("Delay in milliseconds between files defragmentation"),
28652865
NULL,
28662866
GUC_UNIT_MS
@@ -10864,7 +10864,7 @@ static void set_cfs_gc_enabled(bool newval, void* extra)
1086410864

1086510865
static char const* show_cfs_gc_enabled(void)
1086610866
{
10867-
return (cfs_state ? cfs_state->gc_enabled : cfs_gc_enabled) ? "on" : "off";
10867+
return cfs_gc_enabled ? "on" : "off";
1086810868
}
1086910869

1087010870

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy