postgresql triggers to update GUI?

Luke LLoeffler at home.com
Mon Nov 26 15:14:45 EST 2001


Seems to me that stored python procedures executed by postgres would be 
executed in an entirely different process than the program that is 
working the db.  Could be wrong though.


> I am writing a python program that uses a postgresql db backend.  I would
> like to update the gui whenever a change in certain tables occurs, so it
> would be nice to use triggers rather than generating the 'events' when I
> update the db.  That way I get cascading changes.  Does anyone know of a
> python module that supports postresql triggers? ie: you can create a
> trigger that calls a python function?  Is there another solution here
> that I am missing?
> 
> Thanks,
> Rob
> 





More information about the Python-list mailing list