Re: too much pgbench init output - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: too much pgbench init output
Date
Msg-id 50467A10.6090806@gmx.net
Whole thread Raw
In response to Re: too much pgbench init output  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: too much pgbench init output  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 9/1/12 6:30 AM, Robert Haas wrote:
> On Sat, Sep 1, 2012 at 12:00 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
>> When initializing a large database, pgbench writes tons of "%d tuples
>> done" lines.  I propose to change this to a sort of progress counter
>> that stays on the same line, as in the attached patch.
> 
> I'm not sure I like this - what if the output is being saved off to a file?

I suppose we could print \n instead of \r then.



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: embedded list v2
Next
From: Andrew Dunstan
Date:
Subject: Re: build farm machine using mixed results