Add --help-config facility to dump information about GUC parameters
Tom Lane <tgl@sss.pgh.pa.us>
Add --help-config facility to dump information about GUC parameters without needing a running backend. Reorder postgresql.conf.sample to match new layout of runtime.sgml. This commit re-adds work lost in Wednesday's crash.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/runtime.sgml | modified | +268 −268 |
| src/backend/main/main.c | modified | +11 −2 |
| src/backend/tcop/postgres.c | modified | +3 −2 |
| src/backend/utils/misc/guc.c | modified | +828 −300 |
| src/backend/utils/misc/help_config.c | added | +461 −0 |
| src/backend/utils/misc/Makefile | modified | +2 −2 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +126 −103 |
| src/bin/initdb/initdb.sh | modified | +4 −8 |
| src/include/utils/guc_tables.h | added | +178 −0 |
| src/include/utils/help_config.h | added | +17 −0 |