Re: signal to send to postgres when log rolling

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: signal to send to postgres when log rolling
Date: 2003-09-30 04:51:21
Message-ID: 16212.1064897481@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> What is the correct signal (and number) that should be sent to postgres
> when you want to roll its logs?

There is no log-rolling functionality in PG. Use syslog, or pipe the
postmaster's output into something like Apache's logrotate program.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-09-30 04:55:00 Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Previous Message Bruce Momjian 2003-09-30 04:37:07 Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)