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

From Tom Lane
Subject Re: Current log files when rotating?
Date
Msg-id 28387.1226352933@sss.pgh.pa.us
Whole thread Raw
In response to Re: Current log files when rotating?  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Current log files when rotating?  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Current log files when rotating?  (Steve Atkins <steve@blighty.com>)
Re: Current log files when rotating?  (Greg Smith <gsmith@gregsmith.com>)
Re: Current log files when rotating?  ("Andrus" <kobruleht2@hot.ee>)
List pgsql-general
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.

            regards, tom lane

pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: Current log files when rotating?
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Current log files when rotating?