Re: more contrib: log rotator

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Sullivan <andrew(at)libertyrms(dot)info>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: more contrib: log rotator
Date: 2003-04-06 22:42:34
Message-ID: Pine.LNX.4.44.0304070040540.2655-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Sullivan 2003-04-06 22:54:52 Re: more contrib: log rotator
Previous Message Andrew Sullivan 2003-04-06 22:30:24 Re: Detecting corrupted pages earlier