[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [GENERAL] Listen and Notify
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2012-04-30 15:17:57
Message-ID: 8224.1335799077 () sss ! pgh ! pa ! us
[Download RAW message or body]
Alexander Reichstadt <lxr@mac.com> writes:
> But what I don't fully understand is how to do this with PQnotifies. Following the \
> docu I get no notifications even though I subscribe to them after successfully \
> connecting to the server the same way I do using terminal.
Maybe you forgot PQconsumeInput? There's a working example in the
source tree:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/test/examples/testlibpq2.c
regards, tom lane
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic