Re: backtrace_on_internal_error
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter@eisentraut.org>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-12-09T00:39:20Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > On 2023-12-08 17:29:45 -0500, Tom Lane wrote: >> Agreed. I think we want to do that after the initial handshake, >> too, so maybe as attached. > I was wondering about that too. But if we do so, why not also do it for > writes? Writes don't act that way, do they? EOF on a pipe gives you an error, not silently reporting that zero bytes were written and leaving you to retry indefinitely. What I was wondering about was if we needed similar changes on the libpq side, but it's still about reads not writes. regards, tom lane
Commits
-
Add GUC backtrace_on_internal_error
- a740b213d4b4 17.0 landed
-
Fix variable name and comment
- 541e8f14a185 17.0 landed
-
Be more wary about OpenSSL not setting errno on error.
- ebbd499d4b55 16.2 landed
- 87b46ad90491 13.14 landed
- 551d4b28e445 15.6 landed
- 271d24f31ddd 12.18 landed
- 0a5c46a7a488 17.0 landed
- 07ce2432682d 14.11 landed