Re: Is there any way to listen to NOTIFY in php without polling?

Поиск
Список
Период
Сортировка
От Misa Simic
Тема Re: Is there any way to listen to NOTIFY in php without polling?
Дата
Msg-id CAH3i69ntEXsMimFzCN74xQgU+kJhT-QACtzrtf6MDZuJrqLXQQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is there any way to listen to NOTIFY in php without polling?  (Clemens Eisserer <linuxhippy@gmail.com>)
Ответы Re: Is there any way to listen to NOTIFY in php without polling?
Список 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 по дате отправления:

Предыдущее
От: Clemens Eisserer
Дата:
Сообщение: Re: Is there any way to listen to NOTIFY in php without polling?
Следующее
От: Clemens Eisserer
Дата:
Сообщение: Re: Is there any way to listen to NOTIFY in php without polling?