aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-09-09 09:57:28 +0900
committerMichael Paquier <michael@paquier.xyz>2021-09-09 09:57:28 +0900
commit3b231596ccfc6bb6564c63a574e429765c0f775e (patch)
tree68b5f1eff1f4c0d9d02c02988e98aa9aff3da707 /src
parent072e2f8a62002cb01ed6c4e161442e133509349e (diff)
downloadpostgresql-3b231596ccfc6bb6564c63a574e429765c0f775e.tar.gz
postgresql-3b231596ccfc6bb6564c63a574e429765c0f775e.zip
Make shared_memory_size a preset option
bd17880 set up that as a memory parameter, but the docs told a different story. A preset parameter is adapted here, as this option is compiled at startup time. Reported-by: Fujii Masao Discussion: https://postgr.es/m/4cc5b434-b174-9aae-197b-737db6cac4e3@oss.nttdata.com
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/misc/guc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index c339acf0670..fd4ca83be17 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -2339,7 +2339,7 @@ static struct config_int ConfigureNamesInt[] =
},
{
- {"shared_memory_size", PGC_INTERNAL, RESOURCES_MEM,
+ {"shared_memory_size", PGC_INTERNAL, PRESET_OPTIONS,
gettext_noop("Shows the size of the server's main shared memory area (rounded up to the nearest MB)."),
NULL,
GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_UNIT_MB