From: Peter Eisentraut Date: Sun, 10 Jan 2016 16:24:51 +0000 (-0500) Subject: psql: Update tab completion comment X-Git-Tag: REL9_6_BETA1~864 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70327030095d07abb58f9b3452dc6315a02aff0e;p=postgresql psql: Update tab completion comment This just updates a comment to match the code. from Michael Paquier --- 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'"