Re: Is there any way to listen to NOTIFY in php without polling? - Mailing list pgsql-general

From Misa Simic
Subject Re: Is there any way to listen to NOTIFY in php without polling?
Date
Msg-id CAH3i69ntEXsMimFzCN74xQgU+kJhT-QACtzrtf6MDZuJrqLXQQ@mail.gmail.com
Whole thread Raw
In response to Re: Is there any way to listen to NOTIFY in php without polling?  (Clemens Eisserer <linuxhippy@gmail.com>)
Responses Re: Is there any way to listen to NOTIFY in php without polling?
List pgsql-general
Hi,

What is the main goal?

even using libpg - you need to call pg notify... Doc says, just using libpgtcl would be possible to get Notify event - without checking from time to time...

Kind Regards,

Misa



2013/3/27 Clemens Eisserer <linuxhippy@gmail.com>
Hi Bill,

>> Is there any way to listen to NOTIFY in php without polling using a
>> callback or blocking call?
>
> Not at this time.

Too bad ... Thanks for the confirmation.

I'll try to invoke a native libpg binary which stays alive until a
NOTIFY is received, should do the trick in case update-frequency is
low.

Thanks, Clemens


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Clemens Eisserer
Date:
Subject: Re: Is there any way to listen to NOTIFY in php without polling?
Next
From: Clemens Eisserer
Date:
Subject: Re: Is there any way to listen to NOTIFY in php without polling?