diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/libpq.sgml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index a3b4b53a230..d79467e9cd4 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -4938,7 +4938,7 @@ typedef struct pgNotify <para> <function>PQnotifies</function> does not actually read data from the server; it just returns messages previously absorbed by another - <application>libpq</application> function. In prior releases of + <application>libpq</application> function. In ancient releases of <application>libpq</application>, the only way to ensure timely receipt of <command>NOTIFY</> messages was to constantly submit commands, even empty ones, and then check <function>PQnotifies</function> after each @@ -8206,6 +8206,7 @@ main(int argc, char **argv) notify->relname, notify->be_pid); PQfreemem(notify); nnotifies++; + PQconsumeInput(conn); } } |