Fix build with PostgreSQL 12+.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 5 years ago
parent aa53689da2
commit 271050fb4c
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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;

Loading…
Cancel
Save