]> granicus.if.org Git - postgresql/commit
Create a built-in log rotation program, so that we no longer have to
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Aug 2004 23:32:13 +0000 (23:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Aug 2004 23:32:13 +0000 (23:32 +0000)
commitbdf8ef6925de6ea1a9330fa1ce32e1a315d07eb2
tree80d8dd5dd82a93e69e3e0133ffdca0a7c03ea893
parentb4cd416ab0003483cbf5467974ead4732357b17d
Create a built-in log rotation program, so that we no longer have to
recommend that people go get Apache's rotatelogs program.  Additional
benefits are that configuration is done through GUC, rather than
externally, and that the postmaster can monitor the log rotator and
restart it after failure (though we certainly hope that won't happen
often).
Andreas Pflug, some rework by Tom Lane.
13 files changed:
doc/src/sgml/maintenance.sgml
doc/src/sgml/runtime.sgml
src/backend/postmaster/Makefile
src/backend/postmaster/pgarch.c
src/backend/postmaster/pgstat.c
src/backend/postmaster/postmaster.c
src/backend/postmaster/syslogger.c [new file with mode: 0644]
src/backend/utils/error/elog.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/postmaster/postmaster.h
src/include/postmaster/syslogger.h [new file with mode: 0644]
src/include/utils/elog.h