Re: more contrib: log rotator

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: more contrib: log rotator
Дата
Msg-id Pine.LNX.4.44.0304070040540.2655-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: more contrib: log rotator  (Andrew Sullivan <andrew@libertyrms.info>)
Ответы Re: more contrib: log rotator
Список 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 по дате отправления:

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: Detecting corrupted pages earlier
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: more contrib: log rotator