Re: improving log management - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: improving log management
Date
Msg-id 4B4F0E1F.6030905@timbira.com
Whole thread Raw
In response to Re: improving log management  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane escreveu:
> (1) Windows compatibility?
> 
Yes.

> (2) What happens if the command takes a significant amount of time to
> execute?  We can't afford to have the log collector blocked.
> 
You're right. We can't have that command in the same process because DBAs
could have high values for log_rotation_* parameters or resources could become
unavailable. :( One idea is to have another process (logger worker) to execute
it. Also we need to store the logfiles that were already rotated.

> (3) What do you intend those %p and %f symbols to signify?
> 
%p and %f are relative log path and log filename, respectively.


--  Euler Taveira de Oliveira http://www.timbira.com/



pgsql-hackers by date:

Previous
From: Matteo Beccati
Date:
Subject: Re: mailing list archiver chewing patches
Next
From: Aidan Van Dyk
Date:
Subject: Re: plpython3