pgsql: Truncate filenames in the leadning end in pg_basebackup verbose

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Truncate filenames in the leadning end in pg_basebackup verbose
Date: 2013-01-17 13:45:55
Message-ID: E1Tvpn1-00031o-7y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Truncate filenames in the leadning end in pg_basebackup verbose output

When truncating at the end, like before, the output would often end up
just showing the path instead of the filename.

Also increase the length of the filename by 5, which still keeps us at
less than 80 characters in most outputs.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d7e9ca7ff7efac8b15d4348fd9480c12ed560ae7

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2013-01-17 14:07:43 pgsql: Base the default SSL ciphers on DEFAULT instead of ALL
Previous Message Robert Haas 2013-01-17 12:54:55 Re: Materialized views WIP patch