Re: pg_upgrade generated files in subdir follow-up

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_upgrade generated files in subdir follow-up
Дата
Msg-id 4061927.1661954367@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_upgrade generated files in subdir follow-up  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: pg_upgrade generated files in subdir follow-up  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> Commit 38bfae36526 moved the .txt files pg_upgrade generates to a separate
> subdir, but there are a few left which are written to cwd.  The thread
> resulting in that patch doesn't discuss these files specifically so it seems
> they are just an oversight. Unless I'm missing something.

> Should something the attached be applied to ensure all generated files are
> placed in the subdirectory?

It certainly looks inconsistent ATM.  I wondered if maybe the plan was to
put routine output into the log directory but problem-reporting files
into cwd --- but that isn't what's happening now.

As long as we report the path to where the file is, I don't see a reason
not to put problem-reporting files in the subdir too.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Imseih (AWS), Sami"
Дата:
Сообщение: Re: [BUG] Panic due to incorrect missingContrecPtr after promotion
Следующее
От: Justin Pryzby
Дата:
Сообщение: pg15b3: recovery fails with wal prefetch enabled