From: Rob Sargent <robjsargent@gmail.com>
To: H <agents@meddatainc.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Paging through table one row at a ttime
Date: Fri, 22 Jul 2022 07:05:31 -0600
Message-ID: <DE7C226B-B472-447E-A9AA-232CAEE22EFE@gmail.com> (raw)
In-Reply-To: <9757a08e-7c32-048b-5584-b1bf09004dff@meddatainc.com>
References: <9757a08e-7c32-048b-5584-b1bf09004dff@meddatainc.com>
> On Jul 22, 2022, at 6:31 AM, H <agents@meddatainc.com> wrote:
>
> On 07/20/2022 03:09 PM, H wrote:
>> I am running postgres 13 under CentOS 7. I have a need to be able to page through a table one row at a time, possibly using pspg (or other tool) allowing me to move in either direction in the table one single row at a time. Ideally only the columns in the selected row should be visible, even better if there would be one column of that row per row in the terminal window but that would probably be wishing for too much.
>>
>> Is there any configuration of pspg that would allow me to do the above?
>>
>>
>>
> I have not seen any replies to my question above - is this perhaps not possible to do?
>
>
I didn’t follow the “even better”. Aside from that most of us are simple sql users and data managers - we don’t go back and forth row by row all that often. Have you found the LIMIT and OFFSET features of SELECT statement? After that your in application space and not this forum perhaps
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robjsargent@gmail.com, agents@meddatainc.com
Subject: Re: Paging through table one row at a ttime
In-Reply-To: <DE7C226B-B472-447E-A9AA-232CAEE22EFE@gmail.com>
References: <9757a08e-7c32-048b-5584-b1bf09004dff@meddatainc.com> <DE7C226B-B472-447E-A9AA-232CAEE22EFE@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox