On Mon, Jun 02, 2003 at 06:24:28AM -0700, Jonathan Gardner wrote:
> On Monday 02 June 2003 01:01, Kaare Rasmussen wrote:
> > LISTEN and NOTIFY can be used from the more native module PGPerl. But I'd
> > like to use DBD::Pg.
> >
> > Is it possible to use LISTEN and NOTIFY from DBI / DBD::Pg?
> 
> Documentation doesn't mention it; I strongly doubt it because I haven't seen 
> it or anything like it in all the years I've used DBI.
> 
> DBI is really a wrapper that makes all databases look the same to perl.

True only to a limited extent. The DBI specifically does *not* take the
'least common denominator' approach which your message implies.

> That means each interface to each database had to lose some of their features
> in order to comply with the DBI standard.

Not true.

DBI drivers are *completely free* to add any features they want
within the extensions mechanisms defined by the DBI. Basically that
simply means that any new methods and any new attributes should begin
with the drivers private prefix ('pg_' for DBD::Pg).

So DBD::Pg can support anything and everything that PostgreSQL offers, 
including callbacks.

Tim.

Reply via email to