diff --git a/include/transport/pqxxbackend.h b/include/transport/pqxxbackend.h index e13c6b037c880d8e413026de52303603ef10fccc..f571433b340f931bef990b7d5be5a1b0b0d8e3d6 100644 --- a/include/transport/pqxxbackend.h +++ b/include/transport/pqxxbackend.h @@ -97,7 +97,10 @@ class PQXXBackend : public StorageBackend private: bool exec(const std::string &query, bool show_error = true); - bool exec(pqxx::work &txn, const std::string &query, bool show_error = true); + bool exec(pqxx::nontransaction &txn, const std::string &query, bool show_error = true); + template + std::string quote(pqxx::nontransaction &txn, const T &t); + Config *m_config; std::string m_prefix;