Commit 0f0ee68e authored by Peter Eisentraut's avatar Peter Eisentraut

psql: Add tab completion for \pset pager

Author: Pavel Stehule <pavel.stehule@gmail.com>
parent 31ae1638
...@@ -3532,6 +3532,8 @@ psql_completion(const char *text, int start, int end) ...@@ -3532,6 +3532,8 @@ psql_completion(const char *text, int start, int end)
} }
else if (TailMatchesCS1("linestyle")) else if (TailMatchesCS1("linestyle"))
COMPLETE_WITH_LIST_CS3("ascii", "old-ascii", "unicode"); 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|" else if (TailMatchesCS1("unicode_border_linestyle|"
"unicode_column_linestyle|" "unicode_column_linestyle|"
"unicode_header_linestyle")) "unicode_header_linestyle"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment