pgsql: Improve pg_upgrade's status display

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: Improve pg_upgrade's status display
Дата
Msg-id E1Th1gu-0007f0-Cd@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve pg_upgrade's status display

Pg_upgrade displays file names during copy and database names during
dump/restore.  Andrew Dunstan identified three bugs:

*  long file names were being truncated to 60 _leading_ characters, which
   often do not change for long file names

*  file names were truncated to 60 characters in log files

*  carriage returns were being output to log files

This commit fixes these --- it prints 60 _trailing_ characters to the
status display, and full path names without carriage returns to log
files.  It also suppresses status output to the log file unless verbose
mode is used.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6dd9584507199a6222ff2d6a40028bba69c9175e

Modified Files
--------------
contrib/pg_upgrade/dump.c        |    2 +-
contrib/pg_upgrade/pg_upgrade.c  |    2 +-
contrib/pg_upgrade/pg_upgrade.h  |    4 +-
contrib/pg_upgrade/relfilenode.c |    2 +-
contrib/pg_upgrade/util.c        |   40 +++++++++++++++++++++++--------------
5 files changed, 30 insertions(+), 20 deletions(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Correct xmax test for COPY FREEZE
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Update iso.org page link