postgres.git / summary / log / commit / refs
commit 70327030095d07abb58f9b3452dc6315a02aff0e
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Sun Jan 10 16:24:51 2016 +0000
First released in: 9.6.0
psql: Update tab completion comment
This just updates a comment to match the code.
from Michael Paquier
src/bin/psql/tab-complete.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 4d2bee11a30..dcbe515fccb 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -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'"
[parent: e63bb4549a2f]