Re: [HACKERS] Make pg_basebackup -x stream the default - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Make pg_basebackup -x stream the default
Date
Msg-id 00d53b68-db37-fe8d-0937-661e7603e40e@2ndquadrant.com
Whole thread Raw
In response to Make pg_basebackup -x stream the default  (Magnus Hagander <magnus@hagander.net>)
Responses Re: [HACKERS] Make pg_basebackup -x stream the default
Re: [HACKERS] Make pg_basebackup -x stream the default
List pgsql-hackers
On 11/8/16 12:45 PM, Magnus Hagander wrote:
> Per some discussions with a number of different people at pgconfeu, here
> is a patch that changes the default mode of pg_basebackup to be
> streaming the wal, as this is what most users would want -- and those
> that don't want it have to make other changes as well. Doing the "most
> safe" thing by default is a good idea.
> 
> The new option "-x none" is provided to turn this off and get the
> previous behavior back.

I would have expected that the "stream" method would become the default.Just a short while ago it was proposed to
removethe "fetch" method
 
altogether, and it was only kept because of some niche use cases.  I
don't think "fetch" is the most safe method, because it requires
wal_keep_segments to be configured.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT)
Next
From: Magnus Hagander
Date:
Subject: Re: [HACKERS] Make pg_basebackup -x stream the default