Re: Prepared Statements

"Billy G. Allie" <[email protected]>
Newsgroups gmane.comp.python.db.pypgsql.user
Organization michigan!/usr/group
Message-ID <[email protected]>
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....: [email protected]
|  /|      | 7436 Hartwell     | MSN.......: [email protected]
|-/-|----- | Dearborn, MI 48126|
|/  |LLIE  | (313) 582-1540    |




-------------------------------------------------------
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.