Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[postgres] respect empty FilterFids list
Considering this statement: layer.dataProvider().getFeatures(QgsFeatureRequest().setFilterFids([])) this resulted in an iteration over the whole postgres source. Internally, this happened implicitly when iterating over a layer with an active edit buffer but no edited features. In such a scenario, we are now much faster.
- Loading branch information
Showing
1 changed file
with
86 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters