Re: pg_basebackup: Missing newlines in some error messages

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Michael Banck <michael(dot)banck(at)credativ(dot)de>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: pg_basebackup: Missing newlines in some error messages
Date: 2018-03-21 12:54:39
Message-ID: 20180321125439.r3qdmf3e5gazeqv5@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-03-21 12:57:08 Re: pg_basebackup: Missing newlines in some error messages
Previous Message Michael Banck 2018-03-21 12:49:01 Re: pg_basebackup: Missing newlines in some error messages