From: Billy G. A. <bil...@mu...> - 2003-04-25 02:09:02
|
Karsten Hilbert wrote: >Hi all, > >am I correct to assume that > > notification.relname > > (where notification is a PgNotify object returned > by PgConnection.notifies()) > >gives me the name of the backend notification that was used >in "LISTEN <signal_name>;" ? "relname" seems a bit misleading >here as it can be an arbitrary string of type "name" AFAICT. >It is certainly customary to use the table name but in GnuMed >we try to be more specific and also include the patient >primary key (if appropriate) in the signal name. > >Karsten > > Perhaps it is a little mis-leading, but it matches the PostgreSQL documentation for libpq function that the PgNotify object wraps, and the name of the element in the underlying pgNotify (C) structure. -- ___________________________________________________________________________ ____ | Billy G. Allie | Domain....: Bil...@mu... | /| | 7436 Hartwell | MSN.......: B_G...@em... |-/-|----- | Dearborn, MI 48126| |/ |LLIE | (313) 582-1540 | |