Navigation Menu

Skip to content

Commit

Permalink
fix detection of spatialinx for postgres materialized views
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 15, 2021
1 parent 9e534eb commit 3a90ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresproviderconnection.cpp
Expand Up @@ -418,7 +418,7 @@ bool QgsPostgresProviderConnection::spatialIndexExists( const QString &schema, c
AND i.oid=ix.indexrelid
AND a.attrelid=t.oid
AND a.attnum=ANY(ix.indkey)
AND t.relkind='r'
AND t.relkind IN ('r', 'm')
AND ns.nspname=%1
AND t.relname=%2
AND a.attname=%3;
Expand Down

0 comments on commit 3a90ea3

Please sign in to comment.