Re: Current log files when rotating? - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Current log files when rotating?
Date
Msg-id 1226355417.21694.118.camel@jd-laptop.pragmaticzealot.org
Whole thread Raw
In response to Re: Current log files when rotating?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Mon, 2008-11-10 at 16:35 -0500, Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > It seems that there is enough need for this feature, that it has been
> > implemented multiple times -- but most of them will fail in corner
> > cases.  Seems an obvious candidate for an in-core function ...
>
> ... which will still fail in corner cases.  Not to mention the race
> condition when the logger has just/is about to switch.

Which is still 99% better than the alternative.

>
>             regards, tom lane
>
--


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Current log files when rotating?
Next
From: Steve Atkins
Date:
Subject: Re: Current log files when rotating?