Re: Returning SELECTed rows immediately instead of all at the end? - Mailing list pgsql-general

From Tom Lane
Subject Re: Returning SELECTed rows immediately instead of all at the end?
Date
Msg-id 803027.1592025048@sss.pgh.pa.us
Whole thread Raw
In response to Returning SELECTed rows immediately instead of all at the end?  (Ron <ronljohnsonjr@gmail.com>)
Responses Re: Returning SELECTed rows immediately instead of all at the end?  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-general
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



pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Returning SELECTed rows immediately instead of all at the end?
Next
From: Adrian Klaver
Date:
Subject: Re: Fwd: not able to give usage access to public schema