Re: parallel pg_dump

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Joachim Wieland <joe(at)mcknight(dot)de>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: parallel pg_dump
Date: 2012-04-04 19:42:04
Message-ID: 1333568402-sup-9402@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Excerpts from Joachim Wieland's message of mié abr 04 15:43:53 -0300 2012:
> On Wed, Apr 4, 2012 at 8:27 AM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> >> Sure, PrintStatus is just there for now to see what's going on. My
> >> plan was to remove it entirely in the final patch.
> >
> > We need that final patch NOW, I think. There is very little time for this
> > before it will be too late for 9.2.
>
> Here are updated patches:
>
> - An empty directory for the directory archive format is okay now.
> - Removed PrintStatus().

In general I'm not so sure that removing debugging printouts is the best
thing to do. They might be helpful if in the future we continue to
rework this code. How about a #define that turns them into empty
statements instead, for example? I didn't read carefully to see if the
PrintStatus() calls are reasonable to keep, though.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2012-04-04 19:49:38 Re: poll: CHECK TRIGGER?
Previous Message Alvaro Herrera 2012-04-04 19:30:52 Re: [PATCH] lock_timeout and common SIGALRM framework