Re: Debug message in RemoveOldXlogFiles - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Debug message in RemoveOldXlogFiles
Date
Msg-id 1276851001.23257.81464.camel@ebony
Whole thread Raw
In response to Debug message in RemoveOldXlogFiles  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Debug message in RemoveOldXlogFiles  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 2010-06-17 at 16:13 +0900, Fujii Masao wrote:
> Hi,
> 
> In the following debug message in RemoveOldXlogFiles(), the variables
> "log" and "seg" don't indicate LSN, so we should use %u instead of %X?
> 
>     elog(DEBUG2, "removing WAL segments older than %X/%X", log, seg);
> 
> I attached the patch to do so.

I think it would be more helpful if it showed a filename. Shall we
change that?

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Development, 24x7 Support, Training and Services



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: system views for walsender activity
Next
From: Simon Riggs
Date:
Subject: Re: debug log in pg_archivecleanup