X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/258b7ce79dba0c01b378e73bd6b8ee9fb1ae695d..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 95b938fa..00000000 --- a/projects/stargazer/plugins/store/db/pg_driver.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef __PG_DRIVER_H__ -#define __PG_DRIVER_H__ - -#include - -#include "base_db.h" - -extern "C" BASE_DB * CreateDriver(); -extern "C" void DestroyDriver(BASE_DB *); - -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; - COLUMNS cols; -}; - -#endif