On Wed, March 29, 2006 16:45, Luis Silva wrote: > > Hi all!! Is it possible to have a trigger in the postgres database that > activates some function in my code in C++ using libpqxx (and send the > information that i want)?? tks a lot
Yes you can. See the "trigger" class. You will still have to create the trigger through SQL; the trigger class itself is only for receiving and handling the events when they arise. It's a misnomer really, and we're trying to think of a new name for this class in libpqxx 3.0. Not much success so far, so if you can think of a better name, let us know! Jeroen _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
