Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7032703

Browse files
committed
psql: Update tab completion comment
This just updates a comment to match the code. from Michael Paquier
1 parent e63bb45 commit 7032703

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/psql/tab-complete.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,8 @@ psql_completion(const char *text, int start, int end)
19991999
/* First off we complete CREATE UNIQUE with "INDEX" */
20002000
else if (TailMatches2("CREATE", "UNIQUE"))
20012001
COMPLETE_WITH_CONST("INDEX");
2002-
/* If we have CREATE|UNIQUE INDEX, then add "ON" and existing indexes */
2002+
/* If we have CREATE|UNIQUE INDEX, then add "ON", "CONCURRENTLY",
2003+
and existing indexes */
20032004
else if (TailMatches2("CREATE|UNIQUE", "INDEX"))
20042005
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_indexes,
20052006
" UNION SELECT 'ON'"

0 commit comments

Comments
 (0)