diff --git a/Data/PostgreSQL/src/Extractor.cpp b/Data/PostgreSQL/src/Extractor.cpp index 6402e3bce..92f6c3fda 100644 --- a/Data/PostgreSQL/src/Extractor.cpp +++ b/Data/PostgreSQL/src/Extractor.cpp @@ -69,7 +69,7 @@ bool Extractor::extract(std::size_t pos, Poco::UInt8& val) return false; } - val = static_cast(tempVal); + val = static_cast(tempVal); return true; } @@ -88,7 +88,7 @@ bool Extractor::extract(std::size_t pos, Poco::Int16& val) return false; } - val = static_cast(tempVal); + val = static_cast(tempVal); return true; } @@ -107,7 +107,7 @@ bool Extractor::extract(std::size_t pos, Poco::UInt16& val) return false; } - val = static_cast(tempVal); + val = static_cast(tempVal); return true; } diff --git a/Data/PostgreSQL/src/SessionImpl.cpp b/Data/PostgreSQL/src/SessionImpl.cpp index a68061a49..6bf305231 100644 --- a/Data/PostgreSQL/src/SessionImpl.cpp +++ b/Data/PostgreSQL/src/SessionImpl.cpp @@ -57,7 +57,8 @@ namespace PostgreSQL { SessionImpl::SessionImpl(const std::string& aConnectionString, std::size_t aLoginTimeout): - Poco::Data::AbstractSessionImpl(aConnectionString, aLoginTimeout) + Poco::Data::AbstractSessionImpl(aConnectionString, aLoginTimeout), + _connectorName("postgresql") { setProperty("handle", static_cast(&_sessionHandle)); setConnectionTimeout(CONNECTION_TIMEOUT_DEFAULT);