Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31ae163
)
psql: Add tab completion for \pset pager
author
Peter Eisentraut
<peter_e@gmx.net>
Tue, 15 Aug 2017 23:10:38 +0000
(19:10 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Tue, 15 Aug 2017 23:12:29 +0000
(19:12 -0400)
Author: Pavel Stehule <pavel.stehule@gmail.com>
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 e34922dd731cd6295c07b011ba900a3ebc641009..1583cfa998e8d0a21d189f2156cf01a57e453f78 100644
(file)
--- a/
src/bin/psql/tab-complete.c
+++ b/
src/bin/psql/tab-complete.c
@@
-3532,6
+3532,8
@@
psql_completion(const char *text, int start, int end)
}
else if (TailMatchesCS1("linestyle"))
COMPLETE_WITH_LIST_CS3("ascii", "old-ascii", "unicode");
+ else if (TailMatchesCS1("pager"))
+ COMPLETE_WITH_LIST_CS3("on", "off", "always");
else if (TailMatchesCS1("unicode_border_linestyle|"
"unicode_column_linestyle|"
"unicode_header_linestyle"))