diff --git a/plugins/input/postgis/connection_manager.hpp b/plugins/input/postgis/connection_manager.hpp index 2354da799..7c0521bca 100644 --- a/plugins/input/postgis/connection_manager.hpp +++ b/plugins/input/postgis/connection_manager.hpp @@ -122,7 +122,7 @@ public: if (itr != pools_.end()) { - itr->second->set_max_size(initialSize); + itr->second->set_initial_size(initialSize); itr->second->set_max_size(maxSize); } else