@ -378,7 +378,7 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);
<para>
<para>
At any time during connection, the status of the connection can be
At any time during connection, the status of the connection can be
checked by calling <xref linkend="libpq-PQstatus"/>. If this call returns <symbol>CONNECTION_BAD</symbol>, then the
checked by calling <xref linkend="libpq-PQstatus"/>. If this call returns <symbol>CONNECTION_BAD</symbol>, then the
connection procedure has failed; if the call returns <function>CONNECTION_OK</function >, then the
connection procedure has failed; if the call returns <symbol>CONNECTION_OK</symbol >, then the
connection is ready. Both of these states are equally detectable
connection is ready. Both of these states are equally detectable
from the return value of <function>PQconnectPoll</function>, described above. Other states might also occur
from the return value of <function>PQconnectPoll</function>, described above. Other states might also occur
during (and only during) an asynchronous connection procedure. These
during (and only during) an asynchronous connection procedure. These
@ -1922,7 +1922,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
<term><literal>sslkeylogfile</literal></term>
<term><literal>sslkeylogfile</literal></term>
<listitem>
<listitem>
<para>
<para>
This parameter specifies the location where <literal>libpq</literal >
This parameter specifies the location where <application>libpq</application >
will log keys used in this SSL context. This is useful for debugging
will log keys used in this SSL context. This is useful for debugging
<productname>PostgreSQL</productname> protocol interactions or client
<productname>PostgreSQL</productname> protocol interactions or client
connections using network inspection tools like
connections using network inspection tools like
@ -1956,7 +1956,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
<literal>Enter PEM pass phrase:</literal>
<literal>Enter PEM pass phrase:</literal>
prompt that <productname>OpenSSL</productname> will emit by default
prompt that <productname>OpenSSL</productname> will emit by default
when an encrypted client certificate key is provided to
when an encrypted client certificate key is provided to
<literal>libpq</literal >.
<application>libpq</application >.
</para>
</para>
<para>
<para>
If the key is not encrypted this parameter is ignored. The parameter
If the key is not encrypted this parameter is ignored. The parameter
@ -2811,14 +2811,14 @@ ConnStatusType PQstatus(const PGconn *conn);
<para>
<para>
The status can be one of a number of values. However, only two of
The status can be one of a number of values. However, only two of
these are seen outside of an asynchronous connection procedure:
these are seen outside of an asynchronous connection procedure:
<literal>CONNECTION_OK</litera l> and
<symbol>CONNECTION_OK</symbo l> and
<literal>CONNECTION_BAD</litera l>. A good connection to the database
<symbol>CONNECTION_BAD</symbo l>. A good connection to the database
has the status <literal>CONNECTION_OK</litera l>. A failed
has the status <symbol>CONNECTION_OK</symbo l>. A failed
connection attempt is signaled by status
connection attempt is signaled by status
<literal>CONNECTION_BAD</litera l>. Ordinarily, an OK status will
<symbol>CONNECTION_BAD</symbo l>. Ordinarily, an OK status will
remain so until <xref linkend="libpq-PQfinish"/>, but a communications
remain so until <xref linkend="libpq-PQfinish"/>, but a communications
failure might result in the status changing to
failure might result in the status changing to
<literal>CONNECTION_BAD</litera l> prematurely. In that case the
<symbol>CONNECTION_BAD</symbo l> prematurely. In that case the
application could try to recover by calling
application could try to recover by calling
<xref linkend="libpq-PQreset"/>.
<xref linkend="libpq-PQreset"/>.
</para>
</para>
@ -6628,7 +6628,7 @@ PostgresPollingStatusType PQcancelPoll(PGcancelConn *cancelConn);
checked by calling <xref linkend="libpq-PQcancelStatus"/>.
checked by calling <xref linkend="libpq-PQcancelStatus"/>.
If this call returns <symbol>CONNECTION_BAD</symbol>, then
If this call returns <symbol>CONNECTION_BAD</symbol>, then
the cancel procedure has failed; if the call returns
the cancel procedure has failed; if the call returns
<function>CONNECTION_OK</function >, then cancel request was
<symbol>CONNECTION_OK</symbol >, then cancel request was
successfully dispatched.
successfully dispatched.
Both of these states are equally detectable from the return value of
Both of these states are equally detectable from the return value of
<function>PQcancelPoll</function>, described above.
<function>PQcancelPoll</function>, described above.
@ -6750,15 +6750,15 @@ ConnStatusType PQcancelStatus(const PGcancelConn *cancelConn);
<para>
<para>
The status can be one of a number of values. However, only three of
The status can be one of a number of values. However, only three of
these are seen outside of an asynchronous cancel procedure:
these are seen outside of an asynchronous cancel procedure:
<literal>CONNECTION_ALLOCATED</litera l>,
<symbol>CONNECTION_ALLOCATED</symbo l>,
<literal>CONNECTION_OK</litera l> and
<symbol>CONNECTION_OK</symbo l> and
<literal>CONNECTION_BAD</litera l>. The initial state of a
<symbol>CONNECTION_BAD</symbo l>. The initial state of a
<function>PGcancelConn</function> that's successfully created using
<function>PGcancelConn</function> that's successfully created using
<xref linkend="libpq-PQcancelCreate"/> is <literal>CONNECTION_ALLOCATED</litera l>.
<xref linkend="libpq-PQcancelCreate"/> is <symbol>CONNECTION_ALLOCATED</symbo l>.
A cancel request that was successfully dispatched
A cancel request that was successfully dispatched
has the status <literal>CONNECTION_OK</litera l>. A failed
has the status <symbol>CONNECTION_OK</symbo l>. A failed
cancel attempt is signaled by status
cancel attempt is signaled by status
<literal>CONNECTION_BAD</litera l>. An OK status will
<symbol>CONNECTION_BAD</symbo l>. An OK status will
remain so until <xref linkend="libpq-PQcancelFinish"/> or
remain so until <xref linkend="libpq-PQcancelFinish"/> or
<xref linkend="libpq-PQcancelReset"/> is called.
<xref linkend="libpq-PQcancelReset"/> is called.
</para>
</para>
@ -8283,7 +8283,7 @@ size_t PQresultMemorySize(const PGresult *res);
<listitem>
<listitem>
<para>
<para>
Return the version of <productname>libpq</productname > that is being used.
Return the version of <application>libpq</application > that is being used.
<synopsis>
<synopsis>
int PQlibVersion(void);
int PQlibVersion(void);
</synopsis>
</synopsis>
@ -8534,7 +8534,7 @@ typedef struct
<parameter>evtInfo</parameter> pointer should be cast to a
<parameter>evtInfo</parameter> pointer should be cast to a
<structname>PGEventRegister *</structname>. This structure contains a
<structname>PGEventRegister *</structname>. This structure contains a
<structname>PGconn</structname> that should be in the
<structname>PGconn</structname> that should be in the
<literal>CONNECTION_OK</litera l> status; guaranteed if one calls
<symbol>CONNECTION_OK</symbo l> status; guaranteed if one calls
<xref linkend="libpq-PQregisterEventProc"/> right after obtaining a good
<xref linkend="libpq-PQregisterEventProc"/> right after obtaining a good
<structname>PGconn</structname>. When returning a failure code, all
<structname>PGconn</structname>. When returning a failure code, all
cleanup must be performed as no <literal>PGEVT_CONNDESTROY</literal>
cleanup must be performed as no <literal>PGEVT_CONNDESTROY</literal>