projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e63bb45
)
psql: Update tab completion comment
author
Peter Eisentraut
<peter_e@gmx.net>
Sun, 10 Jan 2016 16:24:51 +0000
(11:24 -0500)
committer
Peter 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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/tab-complete.c
b/src/bin/psql/tab-complete.c
index 4d2bee11a305b2d7b6c32287e6ef44837b5a7fa0..dcbe515fccb9e1628498f75557a969e9dd3d294b 100644
(file)
--- 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'"