Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/13/20 12:10 AM, Tom Lane wrote:
Ron <ronljohnsonjr@xxxxxxxxx> 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

An option (maybe "-r") for psql to put it in single row mode would be useful for DBAs.

--
Angular momentum makes the world go 'round.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux