mirror of
https://github.com/postgres/postgres.git
synced 2025-05-18 17:41:14 +03:00
psql: Update tab completion comment
This just updates a comment to match the code. from Michael Paquier
This commit is contained in:
parent
e63bb4549a
commit
7032703009
@ -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'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user