Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 006F39FA5B5 for ; Tue, 3 Oct 2006 22:25:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 31372-03 for ; Wed, 4 Oct 2006 01:25:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id CF4B89FB213 for ; Tue, 3 Oct 2006 22:25:29 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from cooper.uws.edu.au (cooper.uws.edu.au [137.154.210.65]) by svr4.postgresql.org (Postfix) with ESMTP id 9182E5AF9CF for ; Wed, 4 Oct 2006 01:25:28 +0000 (GMT) Received: from viper.uws.edu.au (viper.uws.edu.au [137.154.184.10]) by cooper.uws.edu.au (8.12.10/8.12.10/UWS-STF-AH-1.10) with ESMTP id k941PPiM026371 for ; Wed, 4 Oct 2006 11:25:25 +1000 (EST) Received: from viper.uws.edu.au (localhost [127.0.0.1]) by viper.uws.edu.au (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id k941PJkt001060; Wed, 4 Oct 2006 11:25:19 +1000 Received: from localhost (david@localhost) by viper.uws.edu.au (8.13.1/8.13.1/Submit) with ESMTP id k941PJ8P001057; Wed, 4 Oct 2006 11:25:19 +1000 Date: Wed, 4 Oct 2006 11:25:19 +1000 (EST) From: David J N Begley Reply-To: David J N Begley To: pgsql-php@postgresql.org Subject: PDO and PostgreSQL's LISTEN/NOTIFY Message-ID: X-No-Archive: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200610/6 X-Sequence-Number: 3606 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..