From: Mark Cave-Ayland Date: Tue, 22 Dec 2009 12:38:39 +0000 (+0000) Subject: Fix bug in geography support when creating indexes. X-Git-Tag: 1.5.0b1~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0a1767ebf0f67e973bae6443544636c9792cc72;p=postgis Fix bug in geography support when creating indexes. git-svn-id: http://svn.osgeo.org/postgis/trunk@5045 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/shp2pgsql-core.c b/loader/shp2pgsql-core.c index a96d842ed..89e8a822e 100644 --- a/loader/shp2pgsql-core.c +++ b/loader/shp2pgsql-core.c @@ -1799,7 +1799,7 @@ ShpLoaderGetSQLFooter(SHPLOADERSTATE *state, char **strfooter) } else { - vasbappend(sb, "CREATE INDEX \"%s_%s_gist\" ON \"%s\" using gist (\"%s\" gist_geometry_ops);\n", state->config->table, state->config->geom, state->config->table, state->config->geom, ops); + vasbappend(sb, "CREATE INDEX \"%s_%s_gist\" ON \"%s\" using gist (\"%s\" %s);\n", state->config->table, state->config->geom, state->config->table, state->config->geom, ops); } }