Re: PostgreSQL logical replication depends on WAL segments? - Mailing list pgsql-general

From Andres Freund
Subject Re: PostgreSQL logical replication depends on WAL segments?
Date
Msg-id 20190122185349.boppzrsby4ham7pc@alap3.anarazel.de
Whole thread Raw
In response to Re: PostgreSQL logical replication depends on WAL segments?  (Jeremy Finzel <finzelj@gmail.com>)
Responses Re: PostgreSQL logical replication depends on WAL segments?  (Jeremy Finzel <finzelj@gmail.com>)
List pgsql-general
Hi,

On 2019-01-22 11:57:00 -0600, Jeremy Finzel wrote:
> >
> > That is news to me. Can you provide a citation for this?
> >
> 
> I can see the confusion in what I said.  To clarify, I really meant that in
> order to retrieve that data that you need in really old WAL segments, you
> need to keep your replication slot in a position that will hold that WAL in
> place.  And that is what will prevent old rows from being vacuumed
> away.

Note replication slots only prevent old *catalog* rows from being
removed, not old row versions in user created tables.

Greetings,

Andres Freund


pgsql-general by date:

Previous
From: Andres Freund
Date:
Subject: Re: PostgreSQL logical replication depends on WAL segments?
Next
From: Jeremy Finzel
Date:
Subject: Re: PostgreSQL logical replication depends on WAL segments?