mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08: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" */
|
||||
else if (TailMatches2("CREATE", "UNIQUE"))
|
||||
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"))
|
||||
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_indexes,
|
||||
" UNION SELECT 'ON'"
|
||||
|
Loading…
Reference in New Issue
Block a user