Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mhkun style
  • Loading branch information
strk authored and nyalldawson committed Nov 20, 2019
1 parent 460c108 commit 111fbac
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -408,8 +408,11 @@ QStringList QgsPostgresConn::supportedSpatialTypes() const
supportedSpatialTypes << quotedValue( "geometry" )
<< quotedValue( "geography" )
<< quotedValue( "pcpatch" );
if ( hasRaster() ) supportedSpatialTypes << quotedValue( "raster" );
if ( hasTopology() ) supportedSpatialTypes << quotedValue( "topogeometry" );
if ( hasRaster() )
supportedSpatialTypes << quotedValue( "raster" );

if ( hasTopology() )
supportedSpatialTypes << quotedValue( "topogeometry" );

return supportedSpatialTypes;
}
Expand Down Expand Up @@ -1081,7 +1084,7 @@ QString QgsPostgresConn::postgisVersion() const

if ( mTopologyAvailable )
{
QgsDebugMsg( QStringLiteral( "Topology support available!" ) );
QgsDebugMsg( QStringLiteral( "Topology support available :)" ) );
}
else
{
Expand Down

0 comments on commit 111fbac

Please sign in to comment.