From: David J N Begley <d.begley@uws.edu.au>
To: pgsql-php@postgresql.org
Subject: PDO and PostgreSQL's LISTEN/NOTIFY
Date: Wed, 4 Oct 2006 11:25:19 +1000 (EST)
Message-ID: <Pine.LNX.4.61.0610041116180.964@viper.uws.edu.au> (raw)
Is anyone aware of any effort currently underway to add support for
PostgreSQL's LISTEN/NOTIFY (async notification) feature to PDO?
At present the notification mechanism:
http://www.postgresql.org/docs/8.1/interactive/libpq-notify.html
is only available within PHP whilst using the old-style API:
http://www.php.net/manual/en/function.pg-get-notify.php
Unfortunately this means that applications ordinarily using PDO have to
include a mixture of old/new APIs (and separate connections/sessions) if they
want to receive notification messages. I was thinking of putting some time
into proposing an addition to the PDO_PGSQL driver:
http://www.php.net/manual/en/ref.pdo-pgsql.php
but didn't want to duplicate effort if someone has already written the code to
handle this feature.
Thanks..
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: d.begley@uws.edu.au
Subject: Re: PDO and PostgreSQL's LISTEN/NOTIFY
In-Reply-To: <Pine.LNX.4.61.0610041116180.964@viper.uws.edu.au>
References: <Pine.LNX.4.61.0610041116180.964@viper.uws.edu.au>
* 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