From: weigelt@metux.de
To: pgsql-admin@postgresql.org
Subject: Re: Can the frontend get notifications from the postgres server?
Date: Tue, 17 Jun 2003 10:01:02 +0200
Message-ID: <20030617080102.GB1959@metux.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0306171203020.10221-100000@Bhuvan.bksys.co.in>
References: <20030617052837.GB9181@metux.de>
<Pine.LNX.4.44.0306171203020.10221-100000@Bhuvan.bksys.co.in>
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@metux.de
cellphone: +49 174 7066481 smsgate: sms.weigelt@metux.de
---------------------------------------------------------------------
Diese Mail wurde mit UUCP versandt. http://www.metux.de/uucp/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: weigelt@metux.de, pgsql-admin@postgresql.org
Subject: Re: Can the frontend get notifications from the postgres server?
In-Reply-To: <20030617080102.GB1959@metux.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox