diff options
author | Bruce Momjian <bruce@momjian.us> | 2012-12-07 12:26:13 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2012-12-07 12:26:13 -0500 |
commit | 6dd9584507199a6222ff2d6a40028bba69c9175e (patch) | |
tree | 1f11890ce362f76b866c429fca6ea87a763da707 /src | |
parent | ef754fb51b8a40c3b3dc0f3cc42f62eff77649db (diff) | |
download | postgresql-6dd9584507199a6222ff2d6a40028bba69c9175e.tar.gz postgresql-6dd9584507199a6222ff2d6a40028bba69c9175e.zip |
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.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions