From: Peter Eisentraut Date: Tue, 15 Aug 2017 23:10:38 +0000 (-0400) Subject: psql: Add tab completion for \pset pager X-Git-Tag: jit-before-rebase-2017-11-03~456 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=0f0ee68e94319e3f32baf3c18dcae1d5842b0d5c;p=users%2Fandresfreund%2Fpostgres.git psql: Add tab completion for \pset pager Author: Pavel Stehule --- diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index e34922dd73..1583cfa998 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"))