diff options
-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 9d028c0..c31ed7f 100644 --- a/src/sql/drivers/psql/qsql_psql.cpp +++ b/src/sql/drivers/psql/qsql_psql.cpp @@ -147,8 +147,10 @@ static QVariant::Type qDecodePSQLType( int t ) case FLOAT8OID : type = QVariant::Double; break; +#ifdef ABSTIMEOID // PostgreSQL << 12.x case ABSTIMEOID : case RELTIMEOID : +#endif case DATEOID : type = QVariant::Date; break; |