From 44aba280207740d0956160c0288e61f28f024a71 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 20 Mar 2003 06:23:30 +0000 Subject: PGRES_POLLING_ACTIVE is unused, keep for backward compatibility. Lennert Buytenhek --- doc/src/sgml/libpq.sgml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 6e980fcf4cd..235a8cbc2e2 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ @@ -342,9 +342,7 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn); If PQconnectStart succeeds, the next stage is to poll libpq so that it may - proceed with the connection sequence. Loop thus: Consider a connection - inactive by default. If PQconnectPoll last returned PGRES_POLLING_ACTIVE, - consider it active instead. If PQconnectPoll(conn) last returned + proceed with the connection sequence. Loop thus: If PQconnectPoll(conn) last returned PGRES_POLLING_READING, perform a select() for reading on the socket determined using PQsocket(conn). If it last returned PGRES_POLLING_WRITING, perform a select() for writing on that same socket. If you have yet to call PQconnectPoll, i.e., after the call -- cgit v1.2.3