projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c80c6
)
Tab completion for \lo_import
author
Robert Haas
Mon, 15 Jul 2013 18:29:17 +0000
(14:29 -0400)
committer
Robert Haas
Mon, 15 Jul 2013 18:29:17 +0000
(14:29 -0400)
Josh Kupershmidt
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 8eb9f83b9943b8f6e6f505062802324d1ccea975..a67d2cdd909c0afe3e62518301a2634f24ab16ce 100644
(file)
--- a/
src/bin/psql/tab-complete.c
+++ b/
src/bin/psql/tab-complete.c
@@
-3359,7
+3359,8
@@
psql_completion(char *text, int start, int end)
strcmp(prev_wd, "\\ir") == 0 || strcmp(prev_wd, "\\include_relative") == 0 ||
strcmp(prev_wd, "\\o") == 0 || strcmp(prev_wd, "\\out") == 0 ||
strcmp(prev_wd, "\\s") == 0 ||
- strcmp(prev_wd, "\\w") == 0 || strcmp(prev_wd, "\\write") == 0
+ strcmp(prev_wd, "\\w") == 0 || strcmp(prev_wd, "\\write") == 0 ||
+ strcmp(prev_wd, "\\lo_import") == 0
)
{
completion_charp = "\\";