Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEtoz-0004an-2O for pgsql-general@arkaria.postgresql.org; Fri, 22 Jul 2022 14:40:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oEtox-0006kj-WF for pgsql-general@arkaria.postgresql.org; Fri, 22 Jul 2022 14:40:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEtox-0006kZ-LX for pgsql-general@lists.postgresql.org; Fri, 22 Jul 2022 14:40:03 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEtov-0001oT-2Q for pgsql-general@lists.postgresql.org; Fri, 22 Jul 2022 14:40:03 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1oEtot-008m7n-M9; Fri, 22 Jul 2022 10:39:59 -0400 Date: Fri, 22 Jul 2022 10:39:59 -0400 From: Bruce Momjian To: H Cc: pgsql-general@lists.postgresql.org Subject: Re: Paging through table one row at a ttime Message-ID: References: <9757a08e-7c32-048b-5584-b1bf09004dff@meddatainc.com> <286756a4-6847-5a0c-88ce-9f05966f6698@meddatainc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <286756a4-6847-5a0c-88ce-9f05966f6698@meddatainc.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jul 22, 2022 at 04:33:14PM +0200, H wrote: > Let me flesh out my need a little bit more. I have a need for a > quick-and-dirty solution to paging through a postgresql table. pspg > almost fits that need but could be even better. Using pspg I can > either: (1) view one table row in each pspg terminal window row using > the pspg flag to shorten columns, or (2) list as much of the table row > in the pspg terminal window as fits. Depending on the size of the row, > this could mean less than one table row or more than one table row. > > To make it easier to view individual table rows in eg. pspg I would > like to view exactly one table row, not more, and ideally each column > of that table row would use individual pspg terminal rows. > > I hope that makes it clearer. Hoping this might be possible, either > using pspg or other similar software. I am not writing any application > code. I would ask the pspg author on something that specific. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson