mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
PGSQL: making timestamptz a recognized date/time type.
This commit is contained in:
parent
daf78c64e9
commit
9ca2d3beea
@ -1054,7 +1054,7 @@ bool QgsPostgresProvider::loadFields()
|
||||
fieldType = QVariant::Time;
|
||||
fieldSize = -1;
|
||||
}
|
||||
else if ( fieldTypeName == QLatin1String( "timestamp" ) )
|
||||
else if ( fieldTypeName == QLatin1String( "timestamp" ) || fieldTypeName == QLatin1String( "timestamptz" ) )
|
||||
{
|
||||
fieldType = QVariant::DateTime;
|
||||
fieldSize = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user