
August 24th, 2012, 10:43 AM
|
|
Registered User
|
|
Join Date: Aug 2003
Location: Kansas
Posts: 4
Time spent in forums: 25 m 4 sec
Reputation Power: 0
|
|
|
Have postgresql 9.0 notify a running process
Greetings,
I have written a daemon the runs on a ubuntu box. This box has the postgresql installed on it and has a database. When the user modifies certain tables in the database, I would like postgresql to notify the running daemon. I assume that I would have to use notify/listen in some way, but am unsure of this. The daemon was developed in C++. What would I have to put into the daemon code to listen for the notify from Postgresql ?
any help/ideas greatly appreciated.
|