Re: more contrib: log rotator - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: more contrib: log rotator
Date
Msg-id Pine.LNX.4.44.0304070040540.2655-100000@peter.localdomain
Whole thread Raw
In response to Re: more contrib: log rotator  (Andrew Sullivan <andrew@libertyrms.info>)
Responses Re: more contrib: log rotator
List pgsql-hackers
Andrew Sullivan writes:

> But it's not available on every platform.  And according to my
> /usr/share/doc/logrotate/copyright, it's GPL, so you can't
> redistribute it with PostgreSQL.  Building it in was one of the
> criteria, I thought

My point was that log file rotation should be left up to the system
administrator.  Look at other servers on your system (SMTP, DNS,
whatever).  How do they handle it?

> > And we already depend on cron for vacuuming anyway.
>
> But that dependency is actually a liability, because there's no way
> to say, "Hey, I really need to be vacuumed now."

psql -c 'VACUUM' ?

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Detecting corrupted pages earlier
Next
From: Andrew Sullivan
Date:
Subject: Re: more contrib: log rotator