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

From Stephen Frost
Subject Re: BUG #15323: wal_keep_segments must be >= 1 for WAL archiving +streaming to work
Date
Msg-id 20180813154247.GO3326@tamriel.snowman.net
Whole thread Raw
In response to Re: BUG #15323: wal_keep_segments must be >= 1 for WAL archiving +streaming to work  (Andres Freund <andres@anarazel.de>)
Responses Re: BUG #15323: wal_keep_segments must be >= 1 for WAL archiving +streaming to work  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
Andres,

* Andres Freund (andres@anarazel.de) wrote:
> 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.

What exactly is wrong with the setup where this should be failing?

Thanks!

Stephen

Attachment

pgsql-bugs by date:

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