Skip to content
Permalink
Browse files

postgres provider: avoid noise when layer_style table doesn't exist

  • Loading branch information
jef-n committed May 14, 2013
1 parent 47daaa0 commit 38d63d1acff71c8461929c1b10c8cd51ec0c08d7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -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 ) : "";
}

0 comments on commit 38d63d1

Please sign in to comment.
You can’t perform that action at this time.