psql: Add tab completion for \pset pager

Author: Pavel Stehule <pavel.stehule@gmail.com>
pull/31/head^2
Peter Eisentraut 8 years ago
parent 31ae1638ce
commit 0f0ee68e94
  1. 2
      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"))

Loading…
Cancel
Save