Bug report #977
Ineffective adding of features in Postgres provider
|Affected QGIS version:||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||11036|
addFeatures() function in Postgres provider works by adding one feature after other in separate queries. With greater amount of features to add this actions takes quite long time (reported that 3000 features with 35 columns lasts about 10 minutes).
When adding all features at once, the most of the time could be saved.