From: Paul Ramsey Date: Fri, 18 Oct 2013 21:32:54 +0000 (+0000) Subject: #2511, geometry_columns doesn't support materialized views or foreign tables X-Git-Tag: 2.2.0rc1~1322 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08e812769ce4cf4bf92c4f6eef0fb5f4a82d228f;p=postgis #2511, geometry_columns doesn't support materialized views or foreign tables git-svn-id: http://svn.osgeo.org/postgis/trunk@12048 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in index a854e56a4..1d850a3e4 100644 --- a/postgis/postgis.sql.in +++ b/postgis/postgis.sql.in @@ -4766,7 +4766,7 @@ CREATE OR REPLACE VIEW geometry_columns AS AND a.atttypid = t.oid AND a.attrelid = c.oid AND c.relnamespace = n.oid - AND (c.relkind = 'r'::"char" OR c.relkind = 'v'::"char" OR c.relkind = 'm'::"char") + AND (c.relkind = 'r'::"char" OR c.relkind = 'v'::"char" OR c.relkind = 'm'::"char" OR c.relkind = 'f'::"char") AND NOT pg_is_other_temp_schema(c.relnamespace) AND NOT ( n.nspname = 'public' AND c.relname = 'raster_columns' ) AND has_table_privilege( c.oid, 'SELECT'::text );