Adjust configuration-files GUC behavior as per my recent proposal.
Tom Lane <tgl@sss.pgh.pa.us>
Adjust configuration-files GUC behavior as per my recent proposal. The vars are renamed to data_directory, config_file, hba_file, and ident_file, and are guaranteed to be set to accurate absolute paths during postmaster startup. This commit does not yet do anything about hiding path values from non-superusers.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/runtime.sgml | modified | +46 −36 |
| src/backend/libpq/hba.c | modified | +29 −61 |
| src/backend/postmaster/postmaster.c | modified | +8 −24 |
| src/backend/utils/init/miscinit.c | modified | +34 −8 |
| src/backend/utils/misc/guc.c | modified | +132 −72 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +6 −6 |
| src/include/miscadmin.h | modified | +2 −1 |
| src/include/utils/guc.h | modified | +4 −5 |