Re: Can the frontend get notifications from the postgres server?

From: weigelt(at)metux(dot)de
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Can the frontend get notifications from the postgres server?
Date: 2003-06-17 08:01:02
Message-ID: 20030617080102.GB1959@metux.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

On Tue, Jun 17, 2003 at 12:07:31PM +0530, A.Bhuvaneswaran wrote:

<snip>
> LISTEN/NOTIFY is yet another SQL. We can write a rule on an event and let
> it notify. On the other hand, we can have a while(1) process which keeps
> listening for that notification ie.. event. Once the event is occured, the
> listening process would be notified. The listening process can be any
> postgresql client including the one written in C, perl, php, etc.
But the problem still is: how to receive the NOTIFY from an php script ?
which function of the c-client lib can be used for this ?

cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux ITS
Webhosting ab 5 EUR/Monat. UUCP, rawIP und vieles mehr.

phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact(at)metux(dot)de
cellphone: +49 174 7066481 smsgate: sms(dot)weigelt(at)metux(dot)de
---------------------------------------------------------------------
Diese Mail wurde mit UUCP versandt. http://www.metux.de/uucp/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jean-Christian Imbeault 2003-06-17 09:11:56 Bad link on techdocs
Previous Message A.Bhuvaneswaran 2003-06-17 06:37:31 Re: Can the frontend get notifications from the postgres

Browse pgsql-sql by date

  From Date Subject
Next Message Mattias Kregert 2003-06-17 08:35:19 Request for advice: Table design
Previous Message Shridhar Daithankar 2003-06-17 07:05:00 Re: [HACKERS] Our FLOAT(p) precision does not conform to spec