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
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера