postgresql triggers to update GUI?

Ng Pheng Siong ngps at madcap.dyndns.org
Tue Nov 27 16:26:27 CET 2001


According to Mikhail Terekhov  <terekhov at emc.com>:
> Look for LISTEN/NOTIFY in the Postgres documentation.
> You need:
> 1. Create trigger on the tables in question which sends
>     a notify <notify name>
> 2. In your application use LISTEN <notify name>
>     after connecting to the database and then periodically
>     check for notify.

Look at pgnotify: 

    http://www.post1.com/home/ngps


Cheers.

-- 
Ng Pheng Siong <ngps at post1.com> * http://www.post1.com/home/ngps




More information about the Python-list mailing list