Re: log_filename_prefix --> log_filename + strftime() - Mailing list pgsql-patches

From Tom Lane
Subject Re: log_filename_prefix --> log_filename + strftime()
Date
Msg-id 1626.1093633344@sss.pgh.pa.us
Whole thread Raw
In response to Re: log_filename_prefix --> log_filename + strftime()  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
Andrew Dunstan <andrew@dunslane.net> writes:
> If the PID isn't there is there a danger of different postmasters
> clobbering each other's logs?

Only if they're logging into the same directory with the same filename
pattern.  This isn't the default (the default log_directory is under
$PGDATA), and so I'm not that worried now that I think about it carefully.
I'm coming around to agree with Ed's position that it's not worth the
trouble to provide more than the strftime escapes.

            regards, tom lane

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()
Next
From: Tom Lane
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()