postgis/regress/regress_index.sql
Paul Ramsey e01f1fd579 Minor change to work with gserialzed
git-svn-id: http://svn.osgeo.org/postgis/trunk@7353 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-09 21:27:47 +00:00

17 lines
434 B
PL/PgSQL

--- build a larger database
\i regress_lots_of_points.sql
--- test some of the searching capabilities
-- GiST index
CREATE INDEX quick_gist on test using gist (the_geom);
select num,ST_astext(the_geom) from test where the_geom && 'BOX3D(125 125,135 135)'::box3d order by num;
set enable_seqscan = off;
select num,ST_astext(the_geom) from test where the_geom && 'BOX3D(125 125,135 135)'::box3d order by num;
DROP TABLE test;