From 0f0ee68e94319e3f32baf3c18dcae1d5842b0d5c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 15 Aug 2017 19:10:38 -0400 Subject: [PATCH] psql: Add tab completion for \pset pager Author: Pavel Stehule --- src/bin/psql/tab-complete.c | 2 ++ 1 file changed, 2 insertions(+) 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"))