Fix build with PostgreSQL 12+.

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

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

Loading…
Cancel
Save