equal
deleted
inserted
replaced
14 |
14 |
15 class PostgreSQL_DB:public Abstract_DB { |
15 class PostgreSQL_DB:public Abstract_DB { |
16 private: |
16 private: |
17 PGconn * conn; |
17 PGconn * conn; |
18 PGresult *res; |
18 PGresult *res; |
19 std::string conninfo; |
19 std::string conninfo; |
20 |
20 |
21 public: |
21 public: |
22 PostgreSQL_DB (std::string, std::string, std::string, std::string); |
22 PostgreSQL_DB (std::string, std::string, std::string, std::string); |
23 virtual ~ PostgreSQL_DB (); |
23 virtual ~ PostgreSQL_DB (); |
24 bool connect (); |
24 bool connect (); |
25 Abstract_DB::DB_RESULT query (std::string); |
25 Abstract_DB::DB_RESULT query (std::string); |
26 }; |
26 }; |
27 #endif |
27 #endif |