pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Jeremy Finzel <finzelj@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Josef Machytka <josef.machytka@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: PostgreSQL logical replication depends on WAL segments?
Date: Tue, 22 Jan 2019 10:53:49 -0800
Message-ID: <20190122185349.boppzrsby4ham7pc@alap3.anarazel.de> (raw)
In-Reply-To: <CAMa1XUhS=UfEG1X2LnpDLRqw84eC+2iGAXmEnjOh2sZrz8XxFA@mail.gmail.com>
References: <CAGvVEFvq_VM9LhYPeu+Uw__gEVvrBffGL=FO-88cZEp-35+arA@mail.gmail.com>
	<507c69ad-e87b-2180-c2ec-08e1aee20352@aklaver.com>
	<CAGvVEFsOCCi7xHWtXsDQ4mb9VVYB3TrKgpq+6i8JHkNPBw_TXA@mail.gmail.com>
	<CAMa1XUhr1v4QDqVgRRKNYB_vhrnNr2Y7wb0nu2RUxSS4Kx9s8A@mail.gmail.com>
	<47f78c16-1b15-8f2d-1cb0-613aaa973d5c@aklaver.com>
	<CAMa1XUhS=UfEG1X2LnpDLRqw84eC+2iGAXmEnjOh2sZrz8XxFA@mail.gmail.com>

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




view thread (21+ messages)  latest in thread

Message-ID: <20190122185349.boppzrsby4ham7pc@alap3.anarazel.de>
Permalink:  ../20190122185349.boppzrsby4ham7pc@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20190122185349.boppzrsby4ham7pc@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andres@anarazel.de, finzelj@gmail.com, adrian.klaver@aklaver.com, josef.machytka@gmail.com
  Subject: Re: PostgreSQL logical replication depends on WAL segments?
  In-Reply-To: <20190122185349.boppzrsby4ham7pc@alap3.anarazel.de>
  References: <CAGvVEFvq_VM9LhYPeu+Uw__gEVvrBffGL=FO-88cZEp-35+arA@mail.gmail.com> <507c69ad-e87b-2180-c2ec-08e1aee20352@aklaver.com> <CAGvVEFsOCCi7xHWtXsDQ4mb9VVYB3TrKgpq+6i8JHkNPBw_TXA@mail.gmail.com> <CAMa1XUhr1v4QDqVgRRKNYB_vhrnNr2Y7wb0nu2RUxSS4Kx9s8A@mail.gmail.com> <47f78c16-1b15-8f2d-1cb0-613aaa973d5c@aklaver.com> <CAMa1XUhS=UfEG1X2LnpDLRqw84eC+2iGAXmEnjOh2sZrz8XxFA@mail.gmail.com> <20190122185349.boppzrsby4ham7pc@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox