mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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.
This commit is contained in:
@@ -2235,6 +2235,18 @@ lo_import 152801
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>pager_min_lines</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
If <literal>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.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>recordsep</literal></term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user