File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2915,7 +2915,7 @@ bool QgsPostgresProvider::getGeometryDetails()
2915
2915
if ( PGRES_TUPLES_OK == result.PQresultStatus () )
2916
2916
{
2917
2917
sql = QString ( " SELECT (SELECT t.typname FROM pg_type t WHERE oid = %1), upper(postgis_typmod_type(%2)), postgis_typmod_srid(%2)" )
2918
- .arg (QString::number ( result.PQftype ( 0 ) ), QString::number ( result.PQfmod ( 0 ) ) );
2918
+ .arg ( QString::number ( result.PQftype ( 0 ) ), QString::number ( result.PQfmod ( 0 ) ) );
2919
2919
result = connectionRO ()->PQexec ( sql );
2920
2920
if ( result.PQntuples () == 1 )
2921
2921
{
@@ -2930,7 +2930,8 @@ bool QgsPostgresProvider::getGeometryDetails()
2930
2930
mSpatialColType = sctTopoGeometry;
2931
2931
else if ( geomColType == " pcpatch" )
2932
2932
mSpatialColType = sctPcPatch;
2933
- else {
2933
+ else
2934
+ {
2934
2935
detectedType = mRequestedGeomType == QGis::WKBUnknown ? " " : QgsPostgresConn::postgisWkbTypeName ( mRequestedGeomType );
2935
2936
detectedSrid = mRequestedSrid ;
2936
2937
}
You can’t perform that action at this time.
0 commit comments