--- postgresql-7.2.1/src/interfaces/libpq++/pgtransdb.h.old Thu Jul 12 00:12:43 2001 +++ postgresql-7.2.1/src/interfaces/libpq++/pgtransdb.h Fri Jul 12 11:53:50 2002 @@ -32,8 +32,9 @@ // // **************************************************************** // This is the database access class that keeps an open -// transaction block during its lifetime. The block is ENDed when -// the object is destroyed. +// transaction block during its lifetime. The block is ABORTed when +// the object is destroyed, unless you call EndTransaction() method +// before destruction of the object. class DLLIMPORT PgTransaction : public PgDatabase { public: explicit PgTransaction(const char* conninfo); // use reasonable & environment defaults @@ -41,7 +42,6 @@ // explicit PgTransaction(const PgConnection&); ~PgTransaction(); // close connection and clean up -protected: ExecStatusType BeginTransaction(); ExecStatusType EndTransaction();