pg_rotate_logfile function does not appear to work

From: "Campbell, Lance" <lance(at)illinois(dot)edu>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: pg_rotate_logfile function does not appear to work
Date: 2010-02-03 22:09:33
Message-ID: B10E6810AC2A2F4EA7550D072CDE876004B2E0A0@SAB-FENWICK.sab.uiuc.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

PostgreSql:8.4

Select pg_rotate_logfile() does not rotate the log file. If I delete my
log file through the file system and then execute the query it will
create a new log file. But if there is content in the log file and I
run the query it does not seem to do anything. I would have expected it
to clear the log file.

My log files have the days of the week as names. So they get overlaid
each week. I was looking for a way to trigger the clearing of the
current log file.

Thanks,

Lance Campbell

Software Architect/DBA/Project Manager

Web Services at Public Affairs

217-333-0382

Browse pgsql-admin by date

  From Date Subject
Next Message Gabriel Parrondo 2010-02-04 00:46:39 Re: How to clear log files
Previous Message Plugge, Joe R. 2010-02-03 21:36:10 Re: How to clear log files