Re: pg_basebackup and wal streaming

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_basebackup and wal streaming
Date: 2011-02-19 15:21:06
Message-ID: AANLkTi=TbApFGFUsL16gMf62yCrcLy2ux0xnxGWgEnve@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 18, 2011 at 20:33, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> Magnus Hagander wrote:
>> Better late than never (or?), here's the final cleanup of
>> pg_streamrecv for moving into the main distribution, per discussion
>> back in late dec or early jan. It also includes the "stream logs in
>> parallel to backup" part that was not completed on pg_basebackup.
>>
>> Other than that, the only changes to pg_basebackup are the moving of a
>> couple of functions into streamutil.c to make them usable from both,
>> and the progress format output fix Fujii-san mentioned recently.
>>
>> Should be complete except for Win32 support (needs thread/fork thing
>> for the  background streaming feature. Shouldn't be too hard, and I
>> guess that falls on me anyway..) and the reference documentation.
>>
>> And with no feedback to my question here
>> (http://archives.postgresql.org/pgsql-hackers/2011-02/msg00805.php), I
>> went with the "duplicate the macros that are needed to avoid loading
>> postgres.h" path.
>>
>> Yes, I realize that this is far too late in the CF process really, but
>> I wanted to post it anyway... If it's too late to be acceptable it
>> should be possible to maintain this outside the main repository until
>> 9.2, since it only changes frontend binaries. So I'm not actually
>> going to put it on the CF page unless someone else says that's a good
>> idea, to at least share the blame from Robert ;)
>
> Well, if you are going to stand behind it, the CF is not a requirement
> and you can apply it.

I am, but I'm posting it here because I'd appreciate some review
before it goes in, to protect our users from my bugs :-)

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2011-02-19 18:42:20 Re: Debian readline/libedit breakage
Previous Message Peter Eisentraut 2011-02-19 14:56:06 Re: pl/python invalidate functions with composite arguments