]> granicus.if.org Git - postgresql/commitdiff
psql: Update tab completion comment
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 10 Jan 2016 16:24:51 +0000 (11:24 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 13 Jan 2016 01:54:27 +0000 (20:54 -0500)
This just updates a comment to match the code.

from Michael Paquier

src/bin/psql/tab-complete.c

index 4d2bee11a305b2d7b6c32287e6ef44837b5a7fa0..dcbe515fccb9e1628498f75557a969e9dd3d294b 100644 (file)
@@ -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'"