| From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Debug message in RemoveOldXlogFiles |
| Date: | 2010-06-17 07:13:44 |
| Message-ID: | AANLkTinjuAICldRaMxtlEeuFyQvXw_Eo43Z30pvqRwnJ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| remove_old_wal_debug_v1.patch | application/octet-stream | 598 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2010-06-17 07:20:40 | Re: streaming replication breaks horribly if master crashes |
| Previous Message | Rafael Martinez | 2010-06-17 07:02:54 | Re: streaming replication breaks horribly if master crashes |