pg_basebackup: Missing newlines in some error messages

From: Michael Banck <michael(dot)banck(at)credativ(dot)de>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Magnus Hagander <magnus(at)hagander(dot)net>
Subject: pg_basebackup: Missing newlines in some error messages
Date: 2018-03-21 12:12:45
Message-ID: 1521634365.15036.3.camel@credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

while working on something else, I noticed that some error messages in
pg_basebackup do not have a "\n" at the end, resulting in output like:

|pg_basebackup: could not get COPY data stream: pg_basebackup: removing
|data directory "data2"

Patch attached.

Michael

--
Michael Banck
Projektleiter / Senior Berater
Tel.: +49 2166 9901-171
Fax: +49 2166 9901-100
Email: michael(dot)banck(at)credativ(dot)de

credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer

Attachment Content-Type Size
pg_basebackup_stderr_nl.patch text/x-patch 1.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavan Deolasee 2018-03-21 12:23:47 Re: [HACKERS] MERGE SQL Statement for PG11
Previous Message Jeevan Chalke 2018-03-21 12:01:28 Re: [HACKERS] Partition-wise aggregation/grouping