Re: [PATCH] pg_basebackup: progress report max once per second - Mailing list pgsql-hackers

From Oskari Saarenmaa
Subject Re: [PATCH] pg_basebackup: progress report max once per second
Date
Msg-id 52DDA061.1050404@ohmu.fi
Whole thread Raw
In response to Re: [PATCH] pg_basebackup: progress report max once per second  (Sawada Masahiko <sawada.mshk@gmail.com>)
Responses Re: [PATCH] pg_basebackup: progress report max once per second  (Sawada Masahiko <sawada.mshk@gmail.com>)
List pgsql-hackers
18.11.2013 07:53, Sawada Masahiko kirjoitti:
>> On 13 Nov 2013, at 20:51, Mika Eloranta <mel@ohmu.fi> wrote:
>>> Prevent excessive progress reporting that can grow to gigabytes
>>> of output with large databases.
>
> I got error with following scenario.
>
> $ initdb -D data -E UTF8 --no-locale
> /* setting the replication parameters */
> $ pg_basebackup -D 2data
> Floating point exception
> LOG:  could not send data to client: Broken pipe
> ERROR:  base backup could not send data, aborting backup
> FATAL:  connection to client lost

Attached a rebased patch with a fix for division by zero error plus some
code style issues.  I also moved the patch to the current commitfest.

/ Oskari

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Closing commitfest 2013-11
Next
From: Dean Rasheed
Date:
Subject: Re: Closing commitfest 2013-11