Re: psql not responding to SIGINT upon db reconnection

Tristan Partin <tristan@neon.tech>

From: "Tristan Partin" <tristan@neon.tech>
To: "Robert Haas" <robertmhaas@gmail.com>
Cc: "Jelte Fennema-Nio" <postgres@jeltef.nl>, "Heikki Linnakangas" <hlinnaka@iki.fi>, "Tom Lane" <tgl@sss.pgh.pa.us>, <pgsql-hackers@postgresql.org>, "Shlok Kyal" <shlok.kyal.oss@gmail.com>
Date: 2024-04-02T14:35:09Z
Lists: pgsql-hackers
On Tue Apr 2, 2024 at 9:32 AM CDT, Robert Haas wrote:
> On Mon, Apr 1, 2024 at 12:04 PM Tristan Partin <tristan@neon.tech> wrote:
> > > This sentence seems a bit contorted to me, like maybe Yoda wrote it.
> >
> > Incorporated feedback, I have :).
>
> Committed it, I did. My thanks for working on this issue, I extend.

Thanks to everyone for their reviews! Patch is in a much better place 
than when it started.

-- 
Tristan Partin
Neon (https://neon.tech)



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix old, misleading comment for PGRES_POLLING_ACTIVE.

  2. Remove reachable call to pg_unreachable().

  3. Allow SIGINT to cancel psql database reconnections.

  4. Expose PQsocketPoll via libpq

  5. Fix query cancellation handling in psql