Skip to content

Commit 554d4c3

Browse files
authored
Merge pull request #1448 from joto/fix-issue-1447-create-index-schema
Bug fix: Remove schema name from CREATE INDEX
2 parents a50137c + 6fc56bf commit 554d4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middle-pgsql.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ static table_sql sql_for_ways(bool has_bucket_index,
717717
" SELECT ARRAY(SELECT DISTINCT"
718718
" unnest($1) >> {way_node_index_id_shift})\n"
719719
"$$ LANGUAGE SQL IMMUTABLE;\n"
720-
"CREATE INDEX {schema}\"{prefix}_ways_nodes_bucket_idx\""
720+
"CREATE INDEX \"{prefix}_ways_nodes_bucket_idx\""
721721
" ON {schema}\"{prefix}_ways\""
722722
" USING GIN ({schema}\"{prefix}_index_bucket\"(nodes))"
723723
" WITH (fastupdate = off) {index_tablespace};\n";

0 commit comments

Comments
 (0)