Skip to content

Commit 3b23159

Browse files
committed
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
1 parent 072e2f8 commit 3b23159

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2339,7 +2339,7 @@ static struct config_int ConfigureNamesInt[] =
23392339
},
23402340

23412341
{
2342-
{"shared_memory_size", PGC_INTERNAL, RESOURCES_MEM,
2342+
{"shared_memory_size", PGC_INTERNAL, PRESET_OPTIONS,
23432343
gettext_noop("Shows the size of the server's main shared memory area (rounded up to the nearest MB)."),
23442344
NULL,
23452345
GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_UNIT_MB

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