mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
postgres provider: avoid noise when layer_style table doesn't exist
This commit is contained in:
parent
47daaa017a
commit
38d63d1acf
@ -3389,7 +3389,7 @@ QGISEXTERN QString loadStyle( const QString& uri, QString& errCause )
|
||||
.arg( QgsPostgresConn::quotedValue( dsUri.table() ) )
|
||||
.arg( QgsPostgresConn::quotedValue( dsUri.geometryColumn() ) );
|
||||
|
||||
QgsPostgresResult result = conn->PQexec( selectQmlQuery );
|
||||
QgsPostgresResult result = conn->PQexec( selectQmlQuery, false );
|
||||
|
||||
return result.PQntuples() == 1 ? result.PQgetvalue( 0, 0 ) : "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user