X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..086e44c60b861d665fe2a3e1cd7d691201e91c8c:/projects/stargazer/plugins/store/db/pg_driver.h diff --git a/projects/stargazer/plugins/store/db/pg_driver.h b/projects/stargazer/plugins/store/db/pg_driver.h deleted file mode 100644 index a6cee6e2..00000000 --- a/projects/stargazer/plugins/store/db/pg_driver.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef __PG_DRIVER_H__ -#define __PG_DRIVER_H__ - -#include - -#include "base_db.h" - -class PG_DRIVER : public BASE_DB { -public: - virtual ~PG_DRIVER(); - - virtual bool Connect(); - virtual bool Disconnect(); - virtual bool Query(const std::string &); - virtual bool Start(); - virtual bool Commit(); - virtual bool Rollback(); - - virtual BASE_DB::TUPLES GetResult() const; - virtual BASE_DB::TUPLE GetTuple(int n = 0) const; - -private: - PGconn * conn; - PGresult * result; -}; - -#endif