Content-Length: 257500 | pFad | http://github.com/postgrespro/postgres_cluster/commit/62c9eaf5535df8efb417600add99f6e0d111dac2

6D psql: Add tab completion for \pset pager · postgrespro/postgres_cluster@62c9eaf · GitHub
Skip to content

Commit 62c9eaf

Browse files
committed
psql: Add tab completion for \pset pager
Author: Pavel Stehule <pavel.stehule@gmail.com>
1 parent c4dd62d commit 62c9eaf

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
@@ -3077,6 +3077,8 @@ psql_completion(const char *text, int start, int end)
30773077
}
30783078
else if (TailMatchesCS1("linestyle"))
30793079
COMPLETE_WITH_LIST_CS3("ascii", "old-ascii", "unicode");
3080+
else if (TailMatchesCS1("pager"))
3081+
COMPLETE_WITH_LIST_CS3("on", "off", "always");
30803082
else if (TailMatchesCS1("unicode_border_linestyle|"
30813083
"unicode_column_linestyle|"
30823084
"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/62c9eaf5535df8efb417600add99f6e0d111dac2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy