Re: libpq copy error handling busted
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-06-04T04:05:43Z
Lists: pgsql-hackers
On Thu, Jun 4, 2020 at 3:36 PM Thomas Munro <thomas.munro@gmail.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
Commits
-
Try to read data from the socket in pqSendSome's write_failed paths.
- 7247e243a803 13.0 landed
- 2edf14f5ac34 12.4 landed
-
Rethink definition of cancel.c's CancelRequested flag.
- 92f33bb7afd3 13.0 landed
-
Restructure libpq's handling of send failures.
- 1f39a1c06415 12.0 cited