Re: psql ctrl+f skips displaying of one record and displays skippingone line - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: psql ctrl+f skips displaying of one record and displays skippingone line
Date
Msg-id CA+hUKGLu7xRLo36raE8McsPzq0YAqb9duPMfeiB5iGuPAiU6vg@mail.gmail.com
Whole thread Raw
In response to psql ctrl+f skips displaying of one record and displays skipping one line  (vignesh C <vignesh21@gmail.com>)
Responses Re: psql ctrl+f skips displaying of one record and displays skipping one line  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Jul 17, 2019 at 4:07 PM vignesh C <vignesh21@gmail.com> wrote:
> One observation when we execute a select query having results more than the screen space available and press ctrl+f
todisplay the remaining records, one of the record was not displayed and the message "...skipping one line" was
displayed.
>
> I'm not sure if this is intentional behaviour.

Pretty sure this is coming from your system's pager.  You can see the
same thing when you run this on a RHEL box:

seq 1 10000 | more

It skips a line each time you press ^F.

Doesn't happen on FreeBSD or macOS though.


--
Thomas Munro
https://enterprisedb.com



pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: psql ctrl+f skips displaying of one record and displays skipping one line
Next
From: Gareth Palmer
Date:
Subject: [PATCH] Implement INSERT SET syntax