The bug was introduced with previous commit (typo)
See #2811
git-svn-id: http://svn.osgeo.org/postgis/trunk@12749
b70326c6-7e19-0410-871a-
916f4a2858ee
/* Create gist index if specified and not in "prepare" mode */
if (state->config->createindex)
{
- stringbuffer_aprintf(sb, "CREATE INDEX ON ", state->config->table, state->geo_col);
+ stringbuffer_aprintf(sb, "CREATE INDEX ON ");
/* Schema is optional, include if present. */
if (state->config->schema)
{
return 0;
}
sprintf(sql, "CREATE INDEX ON %s%s USING gist (st_convexhull(%s))%s%s;",
- _table,
- _column,
(schema != NULL ? schema : ""),
table,
column,