PDO and PostgreSQL's LISTEN/NOTIFY - Mailing list pgsql-php

From David J N Begley
Subject PDO and PostgreSQL's LISTEN/NOTIFY
Date
Msg-id Pine.LNX.4.61.0610041116180.964@viper.uws.edu.au
Whole thread Raw
Responses Re: PDO and PostgreSQL's LISTEN/NOTIFY  (Robert Treat <xzilla@users.sourceforge.net>)
List pgsql-php
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..

pgsql-php by date:

Previous
From: Robert Treat
Date:
Subject: Re: Select Where using character varying ??
Next
From: "ben wilko"
Date:
Subject: Tutorial/Example of Insert/Select PDF Postgres DB ?