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

From: Misa Simic <misa(dot)simic(at)gmail(dot)com>
To: Clemens Eisserer <linuxhippy(at)gmail(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is there any way to listen to NOTIFY in php without polling?
Date: 2013-03-27 21:28:23
Message-ID: CAH3i69ntEXsMimFzCN74xQgU+kJhT-QACtzrtf6MDZuJrqLXQQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Clemens Eisserer 2013-03-27 21:46:14 Re: Is there any way to listen to NOTIFY in php without polling?
Previous Message Clemens Eisserer 2013-03-27 20:44:49 Re: Is there any way to listen to NOTIFY in php without polling?