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