@@ -1460,13 +1460,17 @@ deprecated as a waste of processing power.
14601460<para>
14611461A better way to check for NOTIFY
14621462messages when you have no useful queries to make is to call
1463- <function>PQconsumeInput()</function>, then check <function>PQnotifies()</function>.
1463+ <function>PQconsumeInput()</function>, then check
1464+ <function>PQnotifies()</function>.
14641465You can use <function>select</function>(2) to wait for backend data to
14651466arrive, thereby using no <acronym>CPU</acronym> power unless there is something
1466- to do. Note that this will work OK whether you use <function>PQsendQuery</function>/
1467- <function>PQgetResult</function> or simply <function>PQexec</function> for
1468- queries. You should, however, remember to check <function>PQnotifies()</function>
1469- after each <function>PQgetResult</function> or <function>PQexec</function> to see
1467+ to do. (See <function>PQsocket()</function> to obtain the file descriptor
1468+ number to use with <function>select</function>.)
1469+ Note that this will work OK whether you submit queries with
1470+ <function>PQsendQuery</function>/<function>PQgetResult</function> or simply
1471+ use <function>PQexec</function>. You should, however, remember to
1472+ check <function>PQnotifies()</function> after each
1473+ <function>PQgetResult</function> or <function>PQexec</function>, to see
14701474if any notifications came in during the processing of the query.
14711475</para>
14721476