aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-01-10 11:24:51 -0500
committerPeter Eisentraut <peter_e@gmx.net>2016-01-12 20:54:27 -0500
commit70327030095d07abb58f9b3452dc6315a02aff0e (patch)
tree4efc195b1fbb4a6bf94e14afc97a29a6a86b8136 /src
parente63bb4549a2f47b86de9fc21c9f8b00440f34f99 (diff)
downloadpostgresql-70327030095d07abb58f9b3452dc6315a02aff0e.tar.gz
postgresql-70327030095d07abb58f9b3452dc6315a02aff0e.zip
psql: Update tab completion comment
This just updates a comment to match the code. from Michael Paquier
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/tab-complete.c3
1 files changed, 2 insertions, 1 deletions
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'"