X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=sql%2Fcombine-block-tables.sql;h=a9dccd98dfbfe6156a9db98852ba2df8050f03b7;hb=4ab0591f5fd8019a0e847a11d1d87b5481f5d28a;hp=3f492068379d93ae855b83da44af53cef3692e9a;hpb=38c6c7b9adbc238d3e6d3a916481f8f83d77d263;p=dead%2Fcensus-tools.git diff --git a/sql/combine-block-tables.sql b/sql/combine-block-tables.sql index 3f49206..a9dccd9 100644 --- a/sql/combine-block-tables.sql +++ b/sql/combine-block-tables.sql @@ -19,3 +19,6 @@ INSERT INTO blocks DROP TABLE sf1_blocks; DROP TABLE tiger_blocks; + +/* We have to re-create the GiST index on the new table as well. */ +CREATE INDEX idx_geometry_gist ON blocks USING gist(the_geom);