Re: serverlog rotation/functions - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: serverlog rotation/functions
Date
Msg-id 40F7FFFC.8000607@pse-consulting.de
Whole thread Raw
In response to Re: serverlog rotation/functions  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: serverlog rotation/functions
List pgsql-hackers
Bruce Momjian wrote:

> 
> This seems quite involved.  Can we get the basic functionality I
> described first?

On the way.

> Also I am not sure how all this information is going
> to be passed from the logging process to the backend requesting the
> information, and it seems overly complicated.

There's *no* information passing from the logging process, with the 
single exception of the latest logfile timestamp (if allowed). I'd 
rather like to have that information from the logger, to be safe in case 
the system time was manipulated and the last logfile is not the current one.
The rest is just a reworked version of pg_dir_ls, with internal 
knowledge of how the timestamp is formatted.

Regards,
Andreas






pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: Point in Time Recovery
Next
From: Andreas Pflug
Date:
Subject: Re: serverlog rotation/functions