Expose PQsocketPoll via libpq
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +39 −1 |
| src/interfaces/libpq/exports.txt | modified | +1 −0 |
| src/interfaces/libpq/fe-misc.c | modified | +3 −4 |
| src/interfaces/libpq/libpq-fe.h | modified | +4 −0 |
Documentation touched
Discussion
- psql not responding to SIGINT upon db reconnection 43 messages · 2023-07-24 → 2024-04-04