From: Ron <ronljohnsonjr@gmail.com>
To: " <pgsql-general@postgresql.org>
Subject: Re: Returning SELECTed rows immediately instead of all at the end?
Date: Sat, 13 Jun 2020 06:34:52 -0500
Message-ID: <53616aa4-a363-a672-ce3b-d72cd302ef1b@gmail.com> (raw)
In-Reply-To: <CAKFQuwZumhDdeS=1gO_ShaRx1VBcSz2s=-BhY-yfD3x3yfz+fw@mail.gmail.com>
References: <d9254330-2f4d-f851-a815-3df56e95c59a@gmail.com>
<CAKFQuwZumhDdeS=1gO_ShaRx1VBcSz2s=-BhY-yfD3x3yfz+fw@mail.gmail.com>
On 6/13/20 12:04 AM, David G. Johnston wrote:
> On Friday, June 12, 2020, Ron <ronljohnsonjr@gmail.com
> <mailto:ronljohnsonjr@gmail.com>> wrote:
>
>
> 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,
>
>
> No
>
> 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?
>
>
> You could wrap the function call in a custom plpgsql function (or just do
> a plpgsql loop) and side channel output via notice but i’d probably just
> do a shell script wrapper absent any other constraint.
Yeah, a shell script was my next option. Thanks.
--
Angular momentum makes the world go 'round.
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: ronljohnsonjr@gmail.com
Subject: Re: Returning SELECTed rows immediately instead of all at the end?
In-Reply-To: <53616aa4-a363-a672-ce3b-d72cd302ef1b@gmail.com>
References: <d9254330-2f4d-f851-a815-3df56e95c59a@gmail.com> <CAKFQuwZumhDdeS=1gO_ShaRx1VBcSz2s=-BhY-yfD3x3yfz+fw@mail.gmail.com> <53616aa4-a363-a672-ce3b-d72cd302ef1b@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