DBD::Pg and NOTIFY (was Re: Synchronous LISTEN/NOTIFY?)

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>, pgsql-general(at)postgresql(dot)org
Subject: DBD::Pg and NOTIFY (was Re: Synchronous LISTEN/NOTIFY?)
Date: 2001-01-05 18:53:55
Message-ID: Pine.BSO.4.10.10101051352090.31095-100000@spider.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 4 Jan 2001, Tom Lane wrote:

> Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my> writes:
> > Uhoh, since I'm using perl does that mean I have to patch DBI and Pg::DBD?
>
> Couldn't say. I didn't have much trouble setting up a Tcl application
> to work smoothly with NOTIFY events, but I've never tried such a thing
> in Perl. Any Perl gurus out there who can pontificate about how to
> set up an event loop in Perl?
Very easy to do with old Pg interface (you just register a notify handler,
like in libpq), but currently DBD::Pg is not notify-aware. I wanted to fix
that (should be simple), but I think it'll have to wait a month or two
till I get a spare minute...

-alex

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Shealy 2001-01-05 18:54:22 RE: ODBC failure
Previous Message Alex Pilosov 2001-01-05 18:50:18 Re: running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2