Re: pg_upgrade verbosity when redirecting output to log file

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pg_upgrade verbosity when redirecting output to log file
Дата
Msg-id 20220110063958.uzv564eq3qrli56m@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pg_upgrade verbosity when redirecting output to log file  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_upgrade verbosity when redirecting output to log file  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: pg_upgrade verbosity when redirecting output to log file  (Bruce Momjian <bruce@momjian.us>)
Список 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 по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: row filtering for logical replication
Следующее
От: Alexander Lakhin
Дата:
Сообщение: Re: Why is src/test/modules/committs/t/002_standby.pl flaky?