Thanks Christoph, I finally figured it out.

Do you know of any patterns for using this feature? I'm suspecting
I'll have a Python thread listening for events and sleeping between
calls to getnotify and that thread can signal another to wake up when
there's something to do. Thoughts?

Mark

On 10/25/05, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Mark Greenbank schrieb:
> > Has anyone successfully used the LISTEN/NOTIFY constructs with a
> > PyGreSQL client?
> >
> > Specifically, the documentation indicates that there is a pgquery
> > object that implements getnotify(). However, how do I get a pgquery
> > object using the pgdb module?
>
> I haven't used it yet. You probably have to use the pg (not pgdb) module
> for features like this.
>
> -- Christoph
> _______________________________________________
> PyGreSQL mailing list
> [email protected]
> http://mailman.vex.net/mailman/listinfo/pygresql
>
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to