Commit 70327030 authored by Peter Eisentraut's avatar Peter Eisentraut

psql: Update tab completion comment

This just updates a comment to match the code.

from Michael Paquier
parent e63bb454
...@@ -1999,7 +1999,8 @@ psql_completion(const char *text, int start, int end) ...@@ -1999,7 +1999,8 @@ psql_completion(const char *text, int start, int end)
/* First off we complete CREATE UNIQUE with "INDEX" */ /* First off we complete CREATE UNIQUE with "INDEX" */
else if (TailMatches2("CREATE", "UNIQUE")) else if (TailMatches2("CREATE", "UNIQUE"))
COMPLETE_WITH_CONST("INDEX"); COMPLETE_WITH_CONST("INDEX");
/* If we have CREATE|UNIQUE INDEX, then add "ON" and existing indexes */ /* If we have CREATE|UNIQUE INDEX, then add "ON", "CONCURRENTLY",
and existing indexes */
else if (TailMatches2("CREATE|UNIQUE", "INDEX")) else if (TailMatches2("CREATE|UNIQUE", "INDEX"))
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_indexes, COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_indexes,
" UNION SELECT 'ON'" " UNION SELECT 'ON'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment