Whack some sense into the configuration-file-location patch.
Tom Lane <tgl@sss.pgh.pa.us>
Whack some sense into the configuration-file-location patch. Refactor code into something reasonably understandable, cause use of the feature to not fail in standalone backends or in EXEC_BACKEND case, fix sloppy guc.c table entries, make the documentation minimally usable.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/postgres-ref.sgml | modified | +2 −2 |
| doc/src/sgml/ref/postmaster.sgml | modified | +14 −18 |
| doc/src/sgml/runtime.sgml | modified | +49 −7 |
| src/backend/bootstrap/bootstrap.c | modified | +9 −28 |
| src/backend/libpq/hba.c | modified | +11 −12 |
| src/backend/postmaster/postmaster.c | modified | +51 −106 |
| src/backend/tcop/postgres.c | modified | +7 −26 |
| src/backend/utils/misc/guc.c | modified | +144 −21 |
| src/backend/utils/misc/guc-file.l | modified | +5 −44 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +9 −5 |
| src/include/utils/guc.h | modified | +4 −4 |
| src/include/utils/guc_tables.h | modified | +5 −4 |