From: Sandro Santilli Date: Tue, 14 Jun 2011 08:20:43 +0000 (+0000) Subject: Do not explicitly name GIST opclass (was renamed). Fixes topology after the GSERIALIZ... X-Git-Tag: 2.0.0alpha1~1430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35e0b52a85d536ea65be3023a485fadee15caaae;p=postgis Do not explicitly name GIST opclass (was renamed). Fixes topology after the GSERIALIZED switch. git-svn-id: http://svn.osgeo.org/postgis/trunk@7393 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/topology.sql.in.c b/topology/topology.sql.in.c index fcd11f62d..de5a15d6f 100644 --- a/topology/topology.sql.in.c +++ b/topology/topology.sql.in.c @@ -1437,7 +1437,7 @@ BEGIN -- Build a gist index on geom EXECUTE 'CREATE INDEX "face_check_gist" ON ' - || 'face_check USING gist (geom gist_geometry_ops);'; + || 'face_check USING gist (geom);'; -- Build a btree index on id EXECUTE 'CREATE INDEX "face_check_bt" ON ' @@ -1804,17 +1804,17 @@ CREATE SCHEMA ' || quote_ident(atopology) || '; ------- GiST index on face EXECUTE 'CREATE INDEX face_gist ON ' || quote_ident(atopology) - || '.face using gist (mbr gist_geometry_ops);'; + || '.face using gist (mbr);'; ------- GiST index on node EXECUTE 'CREATE INDEX node_gist ON ' || quote_ident(atopology) - || '.node using gist (geom gist_geometry_ops);'; + || '.node using gist (geom);'; ------- GiST index on edge EXECUTE 'CREATE INDEX edge_gist ON ' || quote_ident(atopology) - || '.edge_data using gist (geom gist_geometry_ops);'; + || '.edge_data using gist (geom);'; ------- Indexes on left_face and right_face of edge_data ------- NOTE: these indexes speed up GetFaceGeometry (and thus