From bdf8ef6925de6ea1a9330fa1ce32e1a315d07eb2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 5 Aug 2004 23:32:13 +0000 Subject: 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. --- src/include/postmaster/postmaster.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/postmaster/postmaster.h') diff --git a/src/include/postmaster/postmaster.h b/src/include/postmaster/postmaster.h index 75242d156d..9afc228efd 100644 --- a/src/include/postmaster/postmaster.h +++ b/src/include/postmaster/postmaster.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/postmaster/postmaster.h,v 1.4 2004/07/21 20:34:48 momjian Exp $ + * $PostgreSQL: pgsql/src/include/postmaster/postmaster.h,v 1.5 2004/08/05 23:32:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -36,7 +36,7 @@ extern HANDLE PostmasterHandle; extern int PostmasterMain(int argc, char *argv[]); -extern void ClosePostmasterPorts(void); +extern void ClosePostmasterPorts(bool am_syslogger); #ifdef EXEC_BACKEND extern pid_t postmaster_forkexec(int argc, char *argv[]); extern int SubPostmasterMain(int argc, char *argv[]); -- cgit v1.2.1