From 7655f4ccea570d57c4d473cd66b755c03c904942 Mon Sep 17 00:00:00 2001
From: Andrew Dunstan
Date: Sat, 28 Mar 2015 11:07:41 -0400
Subject: Add a pager_min_lines setting to psql
If set, the pager will not be used unless this many lines are to be
displayed, even if that is more than the screen depth. Default is zero,
meaning it's disabled.
There is probably more work to be done in giving the user control over
when the pager is used, particularly when wide output forces use of the
pager regardless of how many lines there are, but this is a start.
---
doc/src/sgml/ref/psql-ref.sgml | 12 ++++++++++++
1 file changed, 12 insertions(+)
(limited to 'doc/src')
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index a6370014987..a33e460bca0 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -2235,6 +2235,18 @@ lo_import 152801
+
+ pager_min_lines
+
+
+ If pager_min_lines> is set to a number greater than the
+ page height, the pager program will not be called unless there are
+ at least this many lines of output to show. The default setting
+ is 0.
+
+
+
+
recordsep
--
cgit v1.2.3