Thread: pgsql-server: Create a built-in log rotation program, so that we no

pgsql-server: Create a built-in log rotation program, so that we no

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql-server/doc/src/sgml:
        maintenance.sgml (r1.36 -> r1.37)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/doc/src/sgml/maintenance.sgml.diff?r1=1.36&r2=1.37)
        runtime.sgml (r1.271 -> r1.272)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/doc/src/sgml/runtime.sgml.diff?r1=1.271&r2=1.272)
    pgsql-server/src/backend/postmaster:
        Makefile (r1.18 -> r1.19)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/Makefile.diff?r1=1.18&r2=1.19)
        pgarch.c (r1.4 -> r1.5)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/pgarch.c.diff?r1=1.4&r2=1.5)
        pgstat.c (r1.77 -> r1.78)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/pgstat.c.diff?r1=1.77&r2=1.78)
        postmaster.c (r1.419 -> r1.420)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/postmaster.c.diff?r1=1.419&r2=1.420)
    pgsql-server/src/backend/utils/error:
        elog.c (r1.145 -> r1.146)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/error/elog.c.diff?r1=1.145&r2=1.146)
    pgsql-server/src/backend/utils/misc:
        guc.c (r1.225 -> r1.226)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/misc/guc.c.diff?r1=1.225&r2=1.226)
        postgresql.conf.sample (r1.118 -> r1.119)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/misc/postgresql.conf.sample.diff?r1=1.118&r2=1.119)
    pgsql-server/src/include/postmaster:
        postmaster.h (r1.4 -> r1.5)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/postmaster/postmaster.h.diff?r1=1.4&r2=1.5)
    pgsql-server/src/include/utils:
        elog.h (r1.72 -> r1.73)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/elog.h.diff?r1=1.72&r2=1.73)

Added Files:
-----------
    pgsql-server/src/backend/postmaster:
        syslogger.c (r1.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/syslogger.c?rev=1.1&content-type=text/x-cvsweb-markup)
    pgsql-server/src/include/postmaster:
        syslogger.h (r1.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/postmaster/syslogger.h?rev=1.1&content-type=text/x-cvsweb-markup)