2 #define _FLAGTRIGGER_H 1
4 #include <pqxx/trigger>
6 /* A trigger that sets a flag whenever it's trigged. */
7 class FlagTrigger : pqxx::trigger {
12 FlagTrigger(pqxx::connection_base &conn, const PGSTD::string &name);
13 virtual ~FlagTrigger() throw ();
15 virtual void operator() (int pid);
16 bool get_flag() const;
20 #endif /* !defined( _FLAGTRIGGER_H) */