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

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy