Re: PostgreSQL logical replication depends on WAL segments?

From: Jeremy Finzel <finzelj(at)gmail(dot)com>
To: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PostgreSQL logical replication depends on WAL segments?
Date: 2019-01-23 03:26:06
Message-ID: CAMa1XUgxHQcp_ORF6ru0CGFqVtL=nPKmT8-6LR9iSrB8+PVYKQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 22, 2019 at 8:19 PM Achilleas Mantzios <
achill(at)matrix(dot)gatewaynet(dot)com> wrote:

>
> On 22/1/19 10:18 μ.μ., Jeremy Finzel wrote:
>
> On Tue, Jan 22, 2019 at 2:16 PM Jeremy Finzel <finzelj(at)gmail(dot)com> wrote:
>
>> any one of those WAL files will not be archived and recycled as long as
>>> it no longer needed by a replication slot
>>>
>>
> :(. s/no longer/still. I meant to say any one of those WAL files will
> not be archived and recycled as long as it still needed by a replication
> slot.
>
>
> A WAL segment will be archived as soon as it is completed.
> https://www.postgresql.org/docs/11/continuous-archiving.html
>

Yep, you’re right. Let me try this again. It will be archived, but the
segment won’t be reused or removed as long as the slot needs it. Is that an
accurate statement?

Thanks,
Jeremy

<https://www.postgresql.org/docs/11/continuous-archiving.html>
>
<https://www.postgresql.org/docs/11/continuous-archiving.html>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Achilleas Mantzios 2019-01-23 07:37:50 Re: PostgreSQL logical replication depends on WAL segments?
Previous Message Achilleas Mantzios 2019-01-23 02:19:16 Re: PostgreSQL logical replication depends on WAL segments?