mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-05 05:18:53 +08:00
53583d8a9d
client software.
29 lines
440 B
C++
29 lines
440 B
C++
#pragma once
|
|
#include "../acl_cpp_define.hpp"
|
|
#include "../db/db_pool.hpp"
|
|
|
|
#ifndef ACL_CLIENT_ONLY
|
|
|
|
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
|
|
|
|
#endif // ACL_CLIENT_ONLY
|