Re: PGEventProcs must not be allowed to break libpq
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-hackers@lists.postgresql.org, Merlin Moncure <mmoncure@gmail.com>
Date: 2022-02-17T14:49:38Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes: > Not really related to this complaint and patch, but as far as I can see, > libpq events go completely untested in the core source. Maybe we should > come up with a test module or something? Yeah, I suppose. The libpq part of it is pretty simple, but still... regards, tom lane
Commits
-
Don't let libpq PGEVT_CONNRESET callbacks break a PGconn.
- 2e372869aa38 15.0 landed
-
Don't let libpq "event" procs break the state of PGresult objects.
- ce1e7a2f7169 15.0 landed