PDO and PostgreSQL's LISTEN/NOTIFY
| From: | Pedram Nimreezi | Date: | Wed, 04 Oct 2006 03:39:01 +0000 |
| Subject: | PDO and PostgreSQL's LISTEN/NOTIFY | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4211@lists.php.net to get a copy of this message | ||
omg +1!!
On 10/3/06, Ilia Alshanetsky <ilia@prohost.org> wrote:
There is currently no plans to add support for this, so you are willing to write a patch it'd would be most welcome. On 3-Oct-06, at 9:26 PM, David J N Begley wrote: 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.. -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Ilia Alshanetsky -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- ~ Pedram Nimreezi -- President/Senior Engineer Major Computing, Inc -- Not by age, but by knowledge is wisdom acquired.