[QGIS-Developer] QGIS "fast" mode

Tomas Straupis tomasstraupis at gmail.com
Mon Mar 16 02:24:43 PDT 2020


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


More information about the QGIS-Developer mailing list