Fix build with PostgreSQL 12+.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9a6ac9dde5)
r14.0.x
Slávek Banko 5 years ago
parent b94e94689b
commit 54ca124d7a
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 : case FLOAT8OID :
type = TQVariant::Double; type = TQVariant::Double;
break; break;
#ifdef ABSTIMEOID // PostgreSQL << 12.x
case ABSTIMEOID : case ABSTIMEOID :
case RELTIMEOID : case RELTIMEOID :
#endif
case DATEOID : case DATEOID :
type = TQVariant::Date; type = TQVariant::Date;
break; break;

Loading…
Cancel
Save