Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2af360e

Browse files
committed
Clean up some problems in new asynchronous-connection logic
in libpq --- mostly, poor response to error conditions. You now actuallyget 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.
1 parent0e6d72d commit2af360e

File tree

4 files changed

+160
-178
lines changed

4 files changed

+160
-178
lines changed

‎doc/src/sgml/libpq.sgml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -323,23 +323,12 @@ PostgresPollingStatusType *PQconnectPoll(PQconn *conn)
323323
</listitem>
324324
<listitem>
325325
<para>
326-
CONNECTION_AWAITING_RESPONSE: Waiting for a response from thebackend.
326+
CONNECTION_AWAITING_RESPONSE: Waiting for a response from thepostmaster.
327327
</para>
328328
</listitem>
329329
<listitem>
330330
<para>
331-
CONNECTION_AUTH_RESPONSE: Got an authentication response; about to deal
332-
with it.
333-
</para>
334-
</listitem>
335-
<listitem>
336-
<para>
337-
CONNECTION_ERROR_RESPONSE: Got an error response; about to deal with it.
338-
</para>
339-
</listitem>
340-
<listitem>
341-
<para>
342-
CONNECTION_AUTH_OK: Received authentication; waiting for ReadyForQuery etc.
331+
CONNECTION_AUTH_OK: Received authentication; waiting for backend startup.
343332
</para>
344333
</listitem>
345334
<listitem>
@@ -373,7 +362,7 @@ PostgresPollingStatusType *PQconnectPoll(PQconn *conn)
373362
</para>
374363
<para>
375364
Note that if PQconnectStart returns a non-NULL pointer, you must call
376-
PQfinishupon that,when you are finished with it, in order to dispose of
365+
PQfinish when you are finished with it, in order to dispose of
377366
the structure and any associated memory blocks. This must be done even if a
378367
call to PQconnectStart or PQconnectPoll failed.
379368
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp