I managed to build your project with Visual Studio and include and use it in a new Visual Studio project with the following (trivial) code:
postgrespp-testings.exe!postgrespp::basic_connection::underlying_handle() Line 119 C++
postgrespp-testings.exe!postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::on_write_ready(const boost::system::error_code & ec) Line 116 C++
[External Code]
postgrespp-testings.exe!boost::asio::detail::binder1<std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>,boost::system::error_code>::operator()() Line 66 C++
postgrespp-testings.exe!boost::asio::asio_handler_invoke<boost::asio::detail::binder1<std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>,boost::system::error_code>>(boost::asio::detail::binder1<std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>,boost::system::error_code> & function, ...) Line 92 C++
postgrespp-testings.exe!boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder1<std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>,boost::system::error_code>,std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>>(boost::asio::detail::binder1<std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>,boost::system::error_code> & function, std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &> & context) Line 56 C++
postgrespp-testings.exe!boost::asio::detail::handler_work<std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>,boost::asio::execution::any_executor<boost::asio::execution::context_as_t<boost::asio::execution_context &>,boost::asio::execution::detail::blocking::never_t<0>,boost::asio::execution::prefer_only<boost::asio::execution::detail::blocking::possibly_t<0>>,boost::asio::execution::prefer_only<boost::asio::execution::detail::outstanding_work::tracked_t<0>>,boost::asio::execution::prefer_only<boost::asio::execution::detail::outstanding_work::untracked_t<0>>,boost::asio::execution::prefer_only<boost::asio::execution::detail::relationship::fork_t<0>>,boost::asio::execution::prefer_only<boost::asio::execution::detail::relationship::continuation_t<0>>>,void>::complete<boost::asio::detail::binder1<std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>,boost::system::error_code>>(boost::asio::detail::binder1<std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>,boost::system::error_code> & function, std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &> & handler) Line 426 C++
postgrespp-testings.exe!boost::asio::detail::win_iocp_wait_op<std::_Binder<std::_Unforced,void (__cdecl postgrespp::socket_operations<postgrespp::basic_transaction<void,void>>::*)(boost::system::error_code const &),postgrespp::socket_operations<postgrespp::basic_transaction<void,void>> *,std::_Ph<1> const &>,boost::asio::execution::any_executor<boost::asio::execution::context_as_t<boost::asio::execution_context &>,boost::asio::execution::detail::blocking::never_t<0>,boost::asio::execution::prefer_only<boost::asio::execution::detail::blocking::possibly_t<0>>,boost::asio::execution::prefer_only<boost::asio::execution::detail::outstanding_work::tracked_t<0>>,boost::asio::execution::prefer_only<boost::asio::execution::detail::outstanding_work::untracked_t<0>>,boost::asio::execution::prefer_only<boost::asio::execution::detail::relationship::fork_t<0>>,boost::asio::execution::prefer_only<boost::asio::execution::detail::relationship::continuation_t<0>>>>::do_complete(void * owner, boost::asio::detail::win_iocp_operation * base, const boost::system::error_code & result_ec, unsigned __int64 __formal) Line 111 C++
postgrespp-testings.exe!boost::asio::detail::win_iocp_operation::complete(void * owner, const boost::system::error_code & ec, unsigned __int64 bytes_transferred) Line 48 C++
postgrespp-testings.exe!boost::asio::detail::win_iocp_io_context::do_one(unsigned long msec, boost::asio::detail::win_iocp_thread_info & this_thread, boost::system::error_code & ec) Line 469 C++
postgrespp-testings.exe!boost::asio::detail::win_iocp_io_context::run(boost::system::error_code & ec) Line 204 C++
postgrespp-testings.exe!boost::asio::io_context::run() Line 63 C++
postgrespp-testings.exe!main() Line 14 C++
[External Code]