From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Expose PQsocketPoll via libpq
Date: Tue, 02 Apr 2024 14:25:38 +0000
Message-ID: <E1rrf4z-0008o1-Pj@gemulon.postgresql.org> (raw)
Expose PQsocketPoll via libpq
This is useful when connecting to a database asynchronously via
PQconnectStart(), since it handles deciding between poll() and
select(), and some of the required boilerplate.
Tristan Partin, reviewed by Gurjeet Singh, Heikki Linnakangas, Jelte
Fennema-Nio, and me.
Discussion: http://postgr.es/m/D08WWCPVHKHN.3QELIKZJ2D9RZ@neon.tech
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f5e4dedfa81f00de93b1b90d06c44cc50e052eaf
Modified Files
--------------
doc/src/sgml/libpq.sgml | 40 +++++++++++++++++++++++++++++++++++++++-
src/interfaces/libpq/exports.txt | 1 +
src/interfaces/libpq/fe-misc.c | 7 +++----
src/interfaces/libpq/libpq-fe.h | 4 ++++
4 files changed, 47 insertions(+), 5 deletions(-)
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-committers@postgresql.org
Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Expose PQsocketPoll via libpq
In-Reply-To: <E1rrf4z-0008o1-Pj@gemulon.postgresql.org>
* 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