diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-11-18 16:37:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-11-18 16:37:17 +0100 |
commit | 54ca124d7a6494af0b901b9a2defad1fa94f9df9 (patch) | |
tree | f24631345d599b7b5104d7c9962a2129c9974bd1 /src | |
parent | b94e94689be75cc609dae907fb35edc01045653f (diff) | |
download | tqt3-54ca124d7a6494af0b901b9a2defad1fa94f9df9.tar.gz tqt3-54ca124d7a6494af0b901b9a2defad1fa94f9df9.zip |
Fix build with PostgreSQL 12+.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9a6ac9dde59581df39cdc6734e99e1db97b03887)
Diffstat (limited to 'src')
-rw-r--r-- | src/sql/drivers/psql/qsql_psql.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sql/drivers/psql/qsql_psql.cpp b/src/sql/drivers/psql/qsql_psql.cpp index 8e2c02ad3..a7a29cbc6 100644 --- a/src/sql/drivers/psql/qsql_psql.cpp +++ b/src/sql/drivers/psql/qsql_psql.cpp @@ -147,8 +147,10 @@ static TQVariant::Type qDecodePSQLType( int t ) case FLOAT8OID : type = TQVariant::Double; break; +#ifdef ABSTIMEOID // PostgreSQL << 12.x case ABSTIMEOID : case RELTIMEOID : +#endif case DATEOID : type = TQVariant::Date; break; |