23 class PostgreSQLInterface :
public DBInterface {
26 PostgreSQLInterface(
const std::string& host,
27 const std::string& database,
28 const std::string& user,
29 const std::string& password,
31 PostgreSQLInterface();
32 virtual ~PostgreSQLInterface() {}
35 void connect()
override;
36 bool isConnected()
override;
37 void execute_imp(
const char* command)
override;
38 void close()
override;
39 void clear()
override;
40 DBRecordList loadRecords()
override;
41 bool checkTable(
const std::string& tablename)
override;
42 DBFieldTypeList getTableContents(
const std::string& tablename)
override;
46 PGresult* m_sq_result;