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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Returning SELECTed rows immediately instead of all at the end?
Дата
Msg-id 803027.1592025048@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Returning SELECTed rows immediately instead of all at the end?  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: Returning SELECTed rows immediately instead of all at the end?  (Ron <ronljohnsonjr@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Returning SELECTed rows immediately instead of all at the end?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Fwd: not able to give usage access to public schema