Re: pg_basebackup: Missing newlines in some error messages - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pg_basebackup: Missing newlines in some error messages
Date
Msg-id 20180321125439.r3qdmf3e5gazeqv5@alvherre.pgsql
Whole thread Raw
In response to Re: pg_basebackup: Missing newlines in some error messages  (Michael Banck <michael.banck@credativ.de>)
Responses Re: pg_basebackup: Missing newlines in some error messages  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Re: pg_basebackup: Missing newlines in some error messages  (Michael Banck <michael.banck@credativ.de>)
List pgsql-hackers
Hi

Michael Banck wrote:

> I apparently managed to screw up so badly that no PQerrorMessage was
> set, so saw the above (which indeed has no error message after the
> colon).

Well, maybe that's a different bug, then: maybe we should print
something other than PQerrorMessage (or maybe PQerrorMessage should not
return empty!).  Can you reproduce the problem?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Michael Banck
Date:
Subject: Re: pg_basebackup: Missing newlines in some error messages
Next
From: Alvaro Herrera
Date:
Subject: Re: pg_basebackup: Missing newlines in some error messages