Re: BUG #15323: wal_keep_segments must be >= 1 for WAL archiving +streaming to work - Mailing list pgsql-bugs

From Andres Freund
Subject Re: BUG #15323: wal_keep_segments must be >= 1 for WAL archiving +streaming to work
Date
Msg-id 20180813152712.u2jnag6jv7x5rkor@alap3.anarazel.de
Whole thread Raw
In response to Re: BUG #15323: wal_keep_segments must be >= 1 for WAL archiving +streaming to work  (Stephen Frost <sfrost@snowman.net>)
Responses Re: BUG #15323: wal_keep_segments must be >= 1 for WAL archiving +streaming to work
List pgsql-bugs
On 2018-08-13 11:22:11 -0400, Stephen Frost wrote:
> Greetings,
> 
> * Andres Freund (andres@anarazel.de) wrote:
> > On August 13, 2018 4:59:32 PM GMT+02:00, Phil Endecott <spam_from_pgsql_lists@chezphil.org> wrote:
> >  but in general, I think it's still
> > >possible
> > >that the master will remove the segment that is needed to start
> > >streaming.
> > 
> > That's why I told you about replication slots....
> 
> This should really work even without replication slots though.

Why? I fail to see what'd be gained by adding "always retain one
segment" rule. It'd not make the setup any more reliable. If anything
it'd make it harder to spot issues in test setups.

- Andres


pgsql-bugs by date:

Previous
From: Stephen Frost
Date:
Subject: Re: BUG #15323: wal_keep_segments must be >= 1 for WAL archiving +streaming to work
Next
From: Stephen Frost
Date:
Subject: Re: BUG #15323: wal_keep_segments must be >= 1 for WAL archiving +streaming to work