mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
e01f1fd579
git-svn-id: http://svn.osgeo.org/postgis/trunk@7353 b70326c6-7e19-0410-871a-916f4a2858ee
17 lines
434 B
PL/PgSQL
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;
|