A couple of newlines missing in pg_rewind log entries - Mailing list pgsql-hackers

From Michael Paquier
Subject A couple of newlines missing in pg_rewind log entries
Date
Msg-id CAB7nPqRycO=Bz0K4=DKqtQ3hnnUA2CDiu3O2kRu55G+g20sDvQ@mail.gmail.com
Whole thread Raw
Responses Re: A couple of newlines missing in pg_rewind log entries  (Michael Paquier <michael.paquier@gmail.com>)
Re: A couple of newlines missing in pg_rewind log entries  (Heikki Linnakangas <hlinnaka@iki.fi>)
List 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

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: checkpointer continuous flushing
Next
From: Michael Paquier
Date:
Subject: Re: pg_rewind failure by file deletion in source server