We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 7ffc3ef commit d3ec6b5Copy full SHA for d3ec6b5
src/providers/postgres/qgspostgresprovider.cpp
@@ -3237,7 +3237,7 @@ QgsRectangle QgsPostgresProvider::extent() const
3237
QString ext;
3238
3239
// get the extents
3240
- if ( !mIsQuery && ( mUseEstimatedMetadata || mSqlWhereClause.isEmpty() ) )
+ if ( !mIsQuery && mUseEstimatedMetadata )
3241
{
3242
// do stats exists?
3243
sql = QStringLiteral( "SELECT count(*) FROM pg_stats WHERE schemaname=%1 AND tablename=%2 AND attname=%3" )
0 commit comments