]> granicus.if.org Git - postgresql/commitdiff
Add mention of log file rotation with mention of syslog SIGHUP capability.
authorBruce Momjian <bruce@momjian.us>
Sun, 23 Sep 2001 04:06:24 +0000 (04:06 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 23 Sep 2001 04:06:24 +0000 (04:06 +0000)
doc/src/sgml/maintenance.sgml

index 3ed0eff4c49d7680ddca8a2d361ca1741e474609..401da8006c387727621836f041f03d4086359a71 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.3 2001/09/09 23:52:12 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.4 2001/09/23 04:06:24 momjian Exp $
 -->
 
 <chapter id="maintenance">
@@ -33,9 +33,12 @@ $Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.3 2001/09/09 23:52:12
    <xref linkend="routine-vacuuming">.
   </para>
 
-<!-- probably ought to have something about log rotation here;
-     any other important maintenance tasks?
--->
+  <para>
+  It is also necessary to rotate the database server log file that is specified 
+  when the <application>postmaster</application> is started.  If you are using
+  <application>syslog</application>, you can send a <literal>SIGHUP</literal>
+  signal to the syslog daemon to force it to start writing a new log file.
+  </para>
 
   <para>
    <productname>PostgreSQL</productname> is low-maintenance compared to