Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-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

pgsql-admin by date

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

pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group