Replace log_filename_prefix with more general log_filename parameter,
Tom Lane <tgl@sss.pgh.pa.us>
Replace log_filename_prefix with more general log_filename parameter, to allow DBA to choose the form in which log filenames reflect the current time. Also allow for truncating instead of appending to pre-existing files --- this is convenient when the log filename pattern rewrites the same names cyclically. Per Ed L.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/runtime.sgml | modified | +33 −6 |
| src/backend/postmaster/syslogger.c | modified | +106 −51 |
| src/backend/utils/misc/guc.c | modified | +14 −6 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +10 −2 |
| src/include/postmaster/syslogger.h | modified | +3 −2 |