pg_upgrade log files

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pg_upgrade log files
Дата
Msg-id 1340943425-sup-4814@alvh.no-ip.org
обсуждение исходный текст
Ответы Re: pg_upgrade log files  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Right now, the pg_upgrade output files contain the output of the
commands it runs.  However, it does not contain the actual commands
being run ... so if you want to figure out what is happening, you have
to trace the pg_upgrade source while reading the log file.

This is, to say the least, suboptimal.

I propose this patch which echoes the commands to the respective log
files.  I would backpatch this to 9.2.

As a note, I find the exec_prog() function rather bizarre.  It would be
better if the caller did not have to manually specify a redirection, for
instance.

--
Álvaro Herrera <alvherre@alvh.no-ip.org>

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: We probably need autovacuum_max_wraparound_workers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade log files