Re: libpq copy error handling busted

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq copy error handling busted
Date: 2020-06-04 04:05:43
Message-ID: CA+hUKGKjQZddcnVFBpfbJk_2Z1We1zVUR01WG5SMR3j9h0zShg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 4, 2020 at 3:36 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> Here's what I tested.

In passing, I noticed that this:

$ psql ...
psql: error: could not connect to server: private key file
"src/test/ssl/ssl/client-revoked.key" has group or world access;
permissions should be u=rw (0600) or less

... leads to this nonsensical error message on the server:

2020-06-04 16:03:11.547 NZST [7765] LOG: could not accept SSL
connection: Success

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2020-06-04 04:16:07 Re: Incorrect comment in be-secure-openssl.c
Previous Message Chapman Flack 2020-06-04 03:59:39 Re: [PATCH] Leading minus for negative time interval in ISO 8601