2020-03-16, pr, 10:48 Julien Cabieces rašė: > This function is only for PostGres (Tomas use an Oracle database if I > remember correctly).
Actually I use PostgreSQL more, but this particular performance problem is with Oracle database. And if enough people agree with the principle, I think it could be possible to remove unnecessary queries from all providers (in time). > And from what I inderstand from the code, It only prevents from checking > for unique colomn in a view or materialized view. > > However, it looks the good option to deal with this use case, I mean no > check (geometry type, srid, key column...) as soon as this option is set. That would make my patch much more simpler ;-) If I understand correctly, I can change my patch to skip geometry type and srid check when they are saved in project already and when option "trust project" is switched on? (https://github.com/qgis/QGIS/pull/34738) -- Tomas _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer