git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5df319f) | patch
Add "-c name=value" switch to initdb.
2023年3月22日 17:48:44 +0000 (13:48 -0400)
2023年3月22日 17:49:05 +0000 (13:49 -0400)
commit 3e51b278db6a4e2f50f3f6b9edc9667af1f934fd
Add "-c name=value" switch to initdb.

This option, or its long form --set, sets the GUC "name" to "value".
The setting applies in the bootstrap and standalone servers run by
initdb, and is also written into the generated postgresql.conf.

This can save an extra editing step when creating a new cluster,
but the real use-case is for coping with situations where the
bootstrap server fails to start due to environmental issues;
for example, if it's necessary to force huge_pages to off.

Discussion: https://postgr.es/m/2844176.1674681919@sss.pgh.pa.us
doc/src/sgml/ref/initdb.sgml diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/bin/initdb/t/001_initdb.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /