From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron <ronljohnsonjr@gmail.com>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: Returning SELECTed rows immediately instead of all at the end?
Date: Sat, 13 Jun 2020 01:10:48 -0400
Message-ID: <803027.1592025048@sss.pgh.pa.us> (raw)
In-Reply-To: <d9254330-2f4d-f851-a815-3df56e95c59a@gmail.com>
References: <d9254330-2f4d-f851-a815-3df56e95c59a@gmail.com>
Ron <ronljohnsonjr@gmail.com> writes:
> I'm running amcheck on a set of indices (test machine, not prod) and want to
> track the progress. Is there a SELECT clause that makes rows display as
> they are created, or do I have to explicitly call bt_index_check() from a
> shell script or SQL function in order to see the output as each index is
> checked?
If you're willing to code at the libpq level, see
https://www.postgresql.org/docs/current/libpq-single-row-mode.html
regards, tom lane
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: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com
Subject: Re: Returning SELECTed rows immediately instead of all at the end?
In-Reply-To: <803027.1592025048@sss.pgh.pa.us>
References: <d9254330-2f4d-f851-a815-3df56e95c59a@gmail.com> <803027.1592025048@sss.pgh.pa.us>
* 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