A couple of newlines missing in pg_rewind log entries

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: A couple of newlines missing in pg_rewind log entries
Date: 2015-06-23 04:39:55
Message-ID: CAB7nPqRycO=Bz0K4=DKqtQ3hnnUA2CDiu3O2kRu55G+g20sDvQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

Some grepping is showing up that a couple of newlines are missing in
pg_rewind, leading to unreadable log entries:
libpq_fetch.c: pg_log(PG_DEBUG, "getting file chunks");
logging.c: pg_log(PG_PROGRESS, "%*s/%s kB (%d%%) copied",
filemap.c: pg_fatal("could not stat file \"%s\": %s",

Attached is a patch to fix them.
Regards,
--
Michael

Attachment Content-Type Size
20150623_rewind_newlines.patch application/x-patch 1.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-06-23 04:51:20 Re: pg_rewind failure by file deletion in source server
Previous Message Amit Kapila 2015-06-23 04:15:33 Re: checkpointer continuous flushing