summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Szefner <r.szefner@hydro-partner.pl>2017-10-20 23:55:16 +0200
committerRobert Szefner <robertsz27@interia.pl>2017-11-04 20:58:18 +0000
commitb35a27676bec7f79761be83b2a7764ac0470e789 (patch)
treed226b1e0f2d650a7f4df6dd2d22e18f984e35bdb
parentff914ea59c3788b2359ddb8d607299576b7a1296 (diff)
QPSQL: Fix check for minimum supported PostgreSQL version
According to Qt documentation http://doc.qt.io/qt-5/sql-driver.html#qpsql minimum supported version of PostgreSQL is 7.3 Change-Id: I30cffaddc29fd56b534bfd259cc235ea1204a21f Reviewed-by: Andy Shaw <andy.shaw@qt.io>
-rw-r--r--src/plugins/sqldrivers/psql/qsql_psql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/sqldrivers/psql/qsql_psql.cpp b/src/plugins/sqldrivers/psql/qsql_psql.cpp
index aac9a1fa13..8f7d261bdc 100644
--- a/src/plugins/sqldrivers/psql/qsql_psql.cpp
+++ b/src/plugins/sqldrivers/psql/qsql_psql.cpp
@@ -843,7 +843,7 @@ QPSQLDriver::Protocol QPSQLDriverPrivate::getPSQLVersion()
if (serverVersion == QPSQLDriver::VersionUnknown)
serverVersion = QPSQLDriver::Version6;
- if (serverVersion < QPSQLDriver::Version7_1) {
+ if (serverVersion < QPSQLDriver::Version7_3) {
qWarning("This version of PostgreSQL is not supported and may not work.");
}