Hi, tks for the answer! but is it possible to send some attributes from the database to the code that inherited the class trigger. tks again
>From: "Jeroen T. Vermeulen" <[EMAIL PROTECTED]> >To: "Luis Silva" <[EMAIL PROTECTED]> >CC: [email protected] >Subject: Re: [libpqxx-general] trigger from database >Date: Wed, 29 Mar 2006 19:41:00 +0700 (ICT) > >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
