Mercurial > gemma
annotate schema/updates/1107/01.reindex_import_logs.sql @ 5559:ce9a9a1bf92f
Make invalid output of ISRSrange_area() less likely, next try
Since ST_MakeValid() might return a collection of lower-to-equal dimension
geometries, distill only the polygons from it. This should prevent
respective errors when trying to save the result to a column of type
MultiPolygon.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 02 Dec 2021 12:37:33 +0100 |
parents | 65a5501dc13d |
children |
rev | line source |
---|---|
4187
65a5501dc13d
Enable faster access to import logs
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 DROP INDEX import.kind_idx; |
65a5501dc13d
Enable faster access to import logs
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
2 CREATE INDEX import_logs_import_id ON import.import_logs (import_id); |