db_bridge/postgresql_db.cpp
changeset 14 862d63715611
parent 12 9f0ce4eaa1ce
child 15 5a0ca1f9a2f1
--- a/db_bridge/postgresql_db.cpp
+++ b/db_bridge/postgresql_db.cpp
@@ -38,10 +38,10 @@
     return true;
 }
 
-std::vector < std::vector<std::string> >PostgreSQL_DB::query (std::string sql_string)
+Abstract_DB::DB_RESULT PostgreSQL_DB::query (std::string sql_string)
 {
-    std::vector <std::string> vec;
-    std::vector < std::vector <std::string> >rows;
+    Abstract_DB::DB_ROW vec;
+    Abstract_DB::DB_RESULT rows;
     PGresult *res;
     int i, j, nFields;