diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-14 05:33:15 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-14 05:33:15 +0000 |
commit | 2af360ed1c5036b8d488cdb6dc94f96608375769 (patch) | |
tree | 9ba0f42b31172de303f54eb514f5678265093a03 /doc/src | |
parent | 0e6d72db55f2d8bb553c8f994c60902a44ac3bd1 (diff) |
Clean up some problems in new asynchronous-connection logic
in libpq --- mostly, poor response to error conditions. You now actually
get to see the postmaster's 'The Data Base System is starting up' message,
which you didn't before. I suspect the SSL code is still broken though.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/libpq.sgml | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index b9207128c35..290236e8b65 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -323,23 +323,12 @@ PostgresPollingStatusType *PQconnectPoll(PQconn *conn) </listitem> <listitem> <para> - CONNECTION_AWAITING_RESPONSE: Waiting for a response from the backend. + CONNECTION_AWAITING_RESPONSE: Waiting for a response from the postmaster. </para> </listitem> <listitem> <para> - CONNECTION_AUTH_RESPONSE: Got an authentication response; about to deal - with it. - </para> - </listitem> - <listitem> - <para> - CONNECTION_ERROR_RESPONSE: Got an error response; about to deal with it. - </para> - </listitem> - <listitem> - <para> - CONNECTION_AUTH_OK: Received authentication; waiting for ReadyForQuery etc. + CONNECTION_AUTH_OK: Received authentication; waiting for backend startup. </para> </listitem> <listitem> @@ -373,7 +362,7 @@ PostgresPollingStatusType *PQconnectPoll(PQconn *conn) </para> <para> Note that if PQconnectStart returns a non-NULL pointer, you must call - PQfinish upon that, when you are finished with it, in order to dispose of + PQfinish when you are finished with it, in order to dispose of the structure and any associated memory blocks. This must be done even if a call to PQconnectStart or PQconnectPoll failed. </para> |