Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve debug messages about geos/topology support
  • Loading branch information
strk committed Nov 15, 2019
1 parent c52d767 commit 3c25e29
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -353,10 +353,9 @@ QgsPostgresConn::QgsPostgresConn( const QString &conninfo, bool readOnly, bool s
{
QgsMessageLog::logMessage( tr( "Your PostGIS installation has no GEOS support. Feature selection and identification will not work properly. Please install PostGIS with GEOS support (http://geos.refractions.net)" ), tr( "PostGIS" ) );
}

if ( hasTopology() )
else
{
QgsDebugMsg( QStringLiteral( "Topology support available!" ) );
QgsDebugMsg( QStringLiteral( "GEOS support available!" ) );
}
}

Expand Down Expand Up @@ -1097,6 +1096,15 @@ QString QgsPostgresConn::postgisVersion()
}
}

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

mGotPostgisVersion = true;

if ( mPostgresqlVersion >= 90000 )
Expand Down

0 comments on commit 3c25e29

Please sign in to comment.