Re: pg_upgrade verbosity when redirecting output to log file - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_upgrade verbosity when redirecting output to log file
Date
Msg-id 20220110063958.uzv564eq3qrli56m@alap3.anarazel.de
Whole thread Raw
In response to Re: pg_upgrade verbosity when redirecting output to log file  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_upgrade verbosity when redirecting output to log file
Re: pg_upgrade verbosity when redirecting output to log file
List pgsql-hackers
Hi,

On 2022-01-10 01:14:32 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> Fun!  That seems to me to be a strong argument for not letting
> the behavior vary depending on isatty().

Yea.


> I think I'd vote for just nuking that output altogether.
> It seems of very dubious value.

It seems worthwhile in some form - on large cluster in copy mode, the "Copying
user relation files" step can take *quite* a while, and even link/clone mode
aren't fast. But perhaps what'd be really needed is something counting up
actual progress in percentage of files and/or space...

I think just coupling it to verbose mode makes the most sense, for now?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: row filtering for logical replication
Next
From: Alexander Lakhin
Date:
Subject: Re: Why is src/test/modules/committs/t/002_standby.pl flaky?