psql: Update tab completion comment

This just updates a comment to match the code.

from Michael Paquier
This commit is contained in:
Peter Eisentraut 2016-01-10 11:24:51 -05:00
parent e63bb4549a
commit 7032703009

View File

@ -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'"