projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5463750
)
psql: Add tab completion for ALTER COLLATION / REFRESH VERSION
author
Peter Eisentraut
Thu, 27 Jan 2022 08:23:50 +0000
(09:23 +0100)
committer
Peter Eisentraut
Thu, 27 Jan 2022 08:23:50 +0000
(09:23 +0100)
This was forgotten when this command form was added
(
eccfef81e1f73ee41f1d8bfe4fa4e80576945048
).
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 502b5c575159391dedb20bc47ad3eaddecd25385..4c62e7b1b41ab9d64d1edbb7a0e3eb83e4760b99 100644
(file)
--- a/
src/bin/psql/tab-complete.c
+++ b/
src/bin/psql/tab-complete.c
@@
-1746,7
+1746,7
@@
psql_completion(const char *text, int start, int end)
/* ALTER COLLATION
*/
else if (Matches("ALTER", "COLLATION", MatchAny))
- COMPLETE_WITH("OWNER TO", "RENAME TO", "SET SCHEMA");
+ COMPLETE_WITH("OWNER TO", "RE
FRESH VERSION", "RE
NAME TO", "SET SCHEMA");
/* ALTER CONVERSION
*/
else if (Matches("ALTER", "CONVERSION", MatchAny))