Re: Returning SELECTed rows immediately instead of all at the end?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Returning SELECTed rows immediately instead of all at the end?
Date: 2020-06-13 05:10:48
Message-ID: 803027.1592025048@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ron <ronljohnsonjr(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-06-13 05:11:00 Re: Fwd: not able to give usage access to public schema
Previous Message David G. Johnston 2020-06-13 05:04:42 Re: Returning SELECTed rows immediately instead of all at the end?