pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tristan Partin <tristan@neon.tech>
To: Jelte Fennema-Nio <postgres@jeltef.nl>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Cc: Shlok Kyal <shlok.kyal.oss@gmail.com>
Subject: Re: psql not responding to SIGINT upon db reconnection
Date: Wed, 31 Jan 2024 12:07:12 -0600
Message-ID: <CYT3BG48WV2H.25BS2RN173HG9@neon.tech> (raw )
In-Reply-To: <CAGECzQTX=esZ+71gAcHGYDBnv65-RGH14xpiFvJytN0uvULzCA@mail.gmail.com >
References: <CUAJJDVD8L61.2AH6VEEDMTXX3@gonk >
<CUAKHCX5472I.SJP0AWQRYVFA@gonk >
<CUAKIOVISECO.2S7MSQFOP1304@gonk >
<1588058.1690220636@sss.pgh.pa.us >
<CUAO24Z1Y72E.2069AD01EB4LO@gonk >
<CANhcyEVBQWoPJK+C_h1CKyN3Wr2VKHuPx=bSB4PH2LuGdut4qg@mail.gmail.com >
<CWRWDTTPP0WZ.2W75ZAVL5ND1M@neon.tech >
<5e28b89f-0033-4e42-8184-b71b731c1aa2@iki.fi >
<CX5IOLTR8MAD.1UUDEG0X673Z4@neon.tech >
<9b3693b7-0bc3-430a-b43f-eae44e8a39b6@iki.fi >
<CX5NSE8R07D8.9D8M8LBKP119@neon.tech >
<032868e0-a530-4fc7-972c-af6f08950b7e@iki.fi >
<CXBHH2O58HVA.JUP07AES8JVK@neon.tech >
<CXGM82ZEGMR2.8EX2V7UBFIK3@neon.tech >
<CA+TgmoYK1JCJUyrK==TBj7St1hhke5AOwXyrmDAs-pA_mmAwVw@mail.gmail.com >
<CY93J05RFBUI.3VGP5PLTG4EWI@neon.tech >
<CA+TgmoZb1Ojhw9numxWp8nCioh_wULxOcYCQ6Jwku4t_e43PkA@mail.gmail.com >
<CYCWA43RK8AH.11BZB0P45NOD5@neon.tech >
<CYSE2DQI20CH.19LUJSCFH0748@neon.tech >
<CAGECzQTX=esZ+71gAcHGYDBnv65-RGH14xpiFvJytN0uvULzCA@mail.gmail.com >
On Tue Jan 30, 2024 at 4:42 PM CST, Jelte Fennema-Nio wrote:
> On Tue, 30 Jan 2024 at 23:20, Tristan Partin <tristan@neon.tech> wrote:
> > Not next week, but here is a respin. I've exposed pqSocketPoll as
> > PQsocketPoll and am just using that. You can see the diff is so much
> > smaller, which is great!
>
> The exports.txt change should be made part of patch 0001, also docs
> are missing for the newly exposed function. PQsocketPoll does look
> like quite a nice API to expose from libpq.
I was looking for documentation of PQsocket(), but didn't find any
standalone (unless I completely missed it). So I just copied how
PQsocket() is documented in PQconnectPoll(). I am happy to document it
separately if you think it would be useful.
My bad on the exports.txt change being in the wrong commit. Git
things... I will fix it on the next re-spin after resolving the previous
paragraph.
--
Tristan Partin
Neon (https://neon.tech )
view thread (43+ messages) latest in thread
Message-ID: <CYT3BG48WV2H.25BS2RN173HG9@neon.tech>
Permalink: ../CYT3BG48WV2H.25BS2RN173HG9@neon.tech/
Also on: postgresql.org/message-id/CYT3BG48WV2H.25BS2RN173HG9@neon.tech
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tristan@neon.tech, postgres@jeltef.nl, robertmhaas@gmail.com, hlinnaka@iki.fi, tgl@sss.pgh.pa.us, shlok.kyal.oss@gmail.com
Subject: Re: psql not responding to SIGINT upon db reconnection
In-Reply-To: <CYT3BG48WV2H.25BS2RN173HG9@neon.tech>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox