Debug message in RemoveOldXlogFiles - Mailing list pgsql-hackers

From Fujii Masao
Subject Debug message in RemoveOldXlogFiles
Date
Msg-id AANLkTinjuAICldRaMxtlEeuFyQvXw_Eo43Z30pvqRwnJ@mail.gmail.com
Whole thread Raw
Responses Re: Debug message in RemoveOldXlogFiles
Re: Debug message in RemoveOldXlogFiles
List pgsql-hackers
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.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Rafael Martinez
Date:
Subject: Re: streaming replication breaks horribly if master crashes
Next
From: Fujii Masao
Date:
Subject: Re: streaming replication breaks horribly if master crashes