Fix for pg_upgrade status display - Mailing list pgsql-hackers

From Bruce Momjian
Subject Fix for pg_upgrade status display
Date
Msg-id 20121206030453.GJ30893@momjian.us
Whole thread Raw
Responses Re: Fix for pg_upgrade status display
Re: Fix for pg_upgrade status display
List pgsql-hackers
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

The attached patch fixes these --- it prints 60 _trailing_ characters to
the status display, and full path names without carriage returns to log
files.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Forgotten argument description in header of index_create
Next
From: Jan Wieck
Date:
Subject: Re: autovacuum truncate exclusive lock round two