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.3qelikzj2d...@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(-)