Re: Prepared Statements

Karsten Hilbert <[email protected]>
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
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
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.