Re: psql ctrl+f skips displaying of one record and displays skipping one line

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: vignesh C <vignesh21(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql ctrl+f skips displaying of one record and displays skipping one line
Date: 2019-07-17 04:18:08
Message-ID: CA+hUKGLu7xRLo36raE8McsPzq0YAqb9duPMfeiB5iGuPAiU6vg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jul 17, 2019 at 4:07 PM vignesh C <vignesh21(at)gmail(dot)com> wrote:
> One observation when we execute a select query having results more than the screen space available and press ctrl+f to display 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gareth Palmer 2019-07-17 04:30:02 [PATCH] Implement INSERT SET syntax
Previous Message vignesh C 2019-07-17 04:07:14 psql ctrl+f skips displaying of one record and displays skipping one line