Steve Clark <sclark(at)netwolves(dot)com> writes:
> I have postgres logging into data/pg_log/ which works great. My question is there
> and option that tells postgres to only keep the last "n" log files?
The usual solution is to choose a filename pattern that will repeat
after an appropriate interval, eg use the day of the week in the
filename if you wanted seven daily log files.
regards, tom lane
In response to
pgsql-general by date
|Next:||From: Robert Treat||Date: 2008-10-27 15:42:47|
|Subject: Re: [HACKERS] Hot Standby utility and administrator functions|
|Previous:||From: Raymond O'Donnell||Date: 2008-10-27 14:18:39|
|Subject: Re: 8.3.x log maintenance|