Re: Listen and Notify

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Listen and Notify
Дата
Msg-id 8224.1335799077@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Listen and Notify  (Alexander Reichstadt <lxr@mac.com>)
Список pgsql-general
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
thoughI 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

В списке pgsql-general по дате отправления:

Предыдущее
От: "J.V."
Дата:
Сообщение: Re: How to update a newly added column with sub selects?
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Listen and Notify