1 #ifndef __PG_DRIVER_H__
2 #define __PG_DRIVER_H__
8 extern "C" BASE_DB * CreateDriver();
9 extern "C" void DestroyDriver(BASE_DB *);
11 class PG_DRIVER : public BASE_DB {
15 virtual bool Connect();
16 virtual bool Disconnect();
17 virtual bool Query(const std::string &);
19 virtual bool Commit();
20 virtual bool Rollback();
22 virtual BASE_DB::TUPLES GetResult() const;
23 virtual BASE_DB::TUPLE GetTuple(int n = 0) const;