Content-Length: 257726 | pFad | http://github.com/postgrespro/postgres_cluster/commit/0f0ee68e94319e3f32baf3c18dcae1d5842b0d5c

6C psql: Add tab completion for \pset pager · postgrespro/postgres_cluster@0f0ee68 · GitHub
Skip to content

Commit 0f0ee68

Browse files
committed
psql: Add tab completion for \pset pager
Author: Pavel Stehule <pavel.stehule@gmail.com>
1 parent 31ae163 commit 0f0ee68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bin/psql/tab-complete.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3532,6 +3532,8 @@ psql_completion(const char *text, int start, int end)
35323532
}
35333533
else if (TailMatchesCS1("linestyle"))
35343534
COMPLETE_WITH_LIST_CS3("ascii", "old-ascii", "unicode");
3535+
else if (TailMatchesCS1("pager"))
3536+
COMPLETE_WITH_LIST_CS3("on", "off", "always");
35353537
else if (TailMatchesCS1("unicode_border_linestyle|"
35363538
"unicode_column_linestyle|"
35373539
"unicode_header_linestyle"))

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/0f0ee68e94319e3f32baf3c18dcae1d5842b0d5c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy