pgsql: Truncate filenames in the leadning end in pg_basebackup verbose - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Truncate filenames in the leadning end in pg_basebackup verbose
Date
Msg-id E1Tvpn1-00031o-7y@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Support multiple -t/--table arguments for more commands
Next
From: Magnus Hagander
Date:
Subject: pgsql: Make size-output fixed length in pg_basebackup verbose mode