small pg_basebackup display bug

From: "Erik Rijkers" <er(at)xs4all(dot)nl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: small pg_basebackup display bug
Date: 2012-12-15 10:39:22
Message-ID: 9bfbac95eecfb2aa61254c62f0face74.squirrel@webmail.xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

from 9.3devel (this morning):

There is a small bug in pg_basebackup: it displays a truncated part of what seems to be the new
$PGDATA (the source code has 'filename' there, but I don't see what's supposed to be in there).

The truncated name in parentheses only shows up during the filling of the new PGDATA; when 100% is
reached that part of the displayed name is deleted. That's another bug in itself, I think:
shouldn't the end-state of that line also display the parenthesized name?

Below is output that shows what I mean: I got that by entering <ENTER> e few times while
pg_basebackup was running

$ pg_basebackup -v -P -D /home/aardvark/pg_stuff/pg_installations/pgsql.93_3pulls2/data
19377/55092 kB (35%), 0/1 tablespace (/home/aardvark/pg_stuff/pg_ins)
45859/55092 kB (83%), 0/1 tablespace (/home/aardvark/pg_stuff/pg_ins)
55101/55101 kB (100%), 1/1 tablespace
pg_basebackup: base backup completed

Thanks,

Erik Rijkers

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Cédric Villemain 2012-12-15 12:35:16 Re: Makefiles don't seem to remember to rebuild everything anymore
Previous Message Peter Eisentraut 2012-12-15 06:23:38 is allow_nonpic_in_shlib still useful?