summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/drivers')
-rw-r--r--src/sql/drivers/psql/qsql_psql.cpp2
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 b6466e891..7a12fe8c6 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;