handle postgres timeouts

This commit is contained in:
CJ Cobb
2021-03-11 16:44:43 -05:00
parent d62f7accfe
commit d2f0537f02
6 changed files with 52 additions and 11 deletions

View File

@@ -181,6 +181,7 @@ Pg::query(char const* command, std::size_t nParams, char const* const* values)
BOOST_LOG_TRIVIAL(error) << ss.str();
PgResult retRes(ret.get(), conn_.get());
disconnect();
return retRes;
}
}