acl/lib_acl_cpp/include/acl_cpp/db/pgsql_pool.hpp
2017-04-27 21:46:28 +08:00

25 lines
370 B
C++

#pragma once
#include "acl_cpp/acl_cpp_define.hpp"
#include "acl_cpp/db/db_pool.hpp"
namespace acl {
class db_handle;
class pgsql_conf;
class ACL_CPP_API pgsql_pool : public db_pool
{
public:
pgsql_pool(const pgsql_conf& conf);
~pgsql_pool(void);
protected:
// @override
connect_client* create_connect(void);
private:
pgsql_conf* conf_;
};
} // namespace acl