Allow configuration files to be placed outside the data directory.
Bruce Momjian <bruce@momjian.us>
Allow configuration files to be placed outside the data directory. Add new postgresql.conf variables to point to data, pg_hba.conf, and pg_ident.conf files. Needs more documentation.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/postmaster.sgml | modified | +20 −7 |
| doc/src/sgml/runtime.sgml | modified | +49 −1 |
| src/backend/bootstrap/bootstrap.c | modified | +6 −7 |
| src/backend/libpq/hba.c | modified | +23 −13 |
| src/backend/postmaster/postmaster.c | modified | +77 −14 |
| src/backend/tcop/postgres.c | modified | +7 −7 |
| src/backend/utils/misc/guc.c | modified | +35 −2 |
| src/backend/utils/misc/guc-file.l | modified | +68 −29 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +10 −0 |
| src/include/utils/guc.h | modified | +8 −1 |