Re: pg_upgrade verbosity when redirecting output to log file
В списке pgsql-hackers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | Re: pg_upgrade verbosity when redirecting output to log file |
| Дата | |
| Msg-id | 20220110043625.au7qn6jdp2deakah@alap3.anarazel.de обсуждение исходный текст |
| Ответ на | pg_upgrade verbosity when redirecting output to log file (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: pg_upgrade verbosity when redirecting output to log file
|
| Список | pgsql-hackers |
Hi, On 2022-01-09 20:28:40 -0800, Andres Freund wrote: > Turns out that it only happens when the output is not a tty. And I notice it > whenever I redirect the log output to a file, pipe, or such. Ah. More precisely, it happens when doing make -s -Otarget -j32 check-world, but *not* when make -s -Otarget -j32 -C src/bin/pg_upgrade check because when there's only one target the subprocess ends up with the FDs make is invoked with, but when there's concurrency -Otarget causes stdin/out to be temporary files. Leading to the endless output "Copying user relation files" output when doing check-world... Greetings, Andres Freund
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера