From 70327030095d07abb58f9b3452dc6315a02aff0e Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 10 Jan 2016 11:24:51 -0500 Subject: [PATCH] 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 4d2bee11a3..dcbe515fcc 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'"