Re: Server->Client notification (without polling)? - Mailing list pgsql-novice

From Wolfgang Keller
Subject Re: Server->Client notification (without polling)?
Date
Msg-id 0001HW.C13768FB00837AA2F0305530@news.individual.de
Whole thread Raw
In response to Server->Client notification (without polling)?  (Wolfgang Keller <wolfgang.keller.nospam@gmx.de>)
Responses Re: Server->Client notification (without polling)?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Server->Client notification (without polling)?  (Michael Fuhr <mike@fuhr.org>)
List pgsql-novice
>> As I understand from the manual, the LISTEN and NOTIFY SQL commands require
>> to poll the database to retrieve the notification events...?
>
> No, they don't.

Thanks for the reply. :-)

I read the manual again and now I understand that it's the libpq client
library which requires polling a function to retrieve the notifications
received from the server. Is there no way to tell the library "please call me
when a notification arrives"?

P.S.: I'm accessing PostgreSQL from Python if this matters, any of the Python
modules for PostgreSQL access is ok for me instead of libpq.

TIA,

Sincerely,

Wolfgang Keller

--
My email-address is correct.
Do NOT remove ".nospam" to reply.


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Server->Client notification (without polling)?
Next
From: Folkert van Heusden
Date:
Subject: Re: installing postgresql 8.1.4