diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-08-15 19:10:38 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-08-15 19:12:29 -0400 |
commit | 0f0ee68e94319e3f32baf3c18dcae1d5842b0d5c (patch) | |
tree | edf466742df00c0dfa0bec7de8c6d5525792666b /src | |
parent | 31ae1638ce35c23979f9bcbb92c6bb51744dbccb (diff) | |
download | postgresql-0f0ee68e94319e3f32baf3c18dcae1d5842b0d5c.tar.gz postgresql-0f0ee68e94319e3f32baf3c18dcae1d5842b0d5c.zip |
psql: Add tab completion for \pset pager
Author: Pavel Stehule <pavel.stehule@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/tab-complete.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index e34922dd731..1583cfa998e 100644 --- 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")) |