On Fri, March 31, 2006 23:53, Luis Silva wrote: > 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 the database to the client? Unfortunately, no. This is actually a limitation of how the entire mechanism works. The idea was brought up again recently on the PostgreSQL hackers list, but stranded on some profound technical objection IIRC. One thing you _can_ do, and which may help in some cases, is to create multiple triggers with different (perhaps similar) names. Also, you can "pass" parameters from the code that creates your trigger object to the invocation by setting member variables in your trigger object. Jeroen _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
