postgresql notifications

Gerhard Häring gh at ghaering.de
Wed May 28 03:36:04 EDT 2003


Witek wrote:
> Hello!
> 
> I'm using pypgsql to connect to postgresql database (7.2, 7.3).
> I recieve PgNotify object using notifies() method of connection object, 
> but it's fields values are random chars and wrong process id. Is there 
> someone, who put it to work?

The pyPgSQL source distribution includes examples for notifications 
(examples/demo2a.py, examples/demo2b.py).

Please report back if you still have problems.

-- Gerhard






More information about the Python-list mailing list