Re: [HACKERS] Restricting maximum keep segments by repslots - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] Restricting maximum keep segments by repslots
Date
Msg-id 20170301160610.wc7ez3vihmialntd@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] Restricting maximum keep segments by repslots  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [HACKERS] Restricting maximum keep segments by repslots  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
List pgsql-hackers
Hi,

On 2017-02-28 12:42:32 +0900, Michael Paquier wrote:
> Please no. Replication slots are designed the current way because we
> don't want to have to use something like wal_keep_segments as it is a
> wart, and this applies as well for replication slots in my opinion.

I think a per-slot option to limit the amount of retention would make
sense.

- Andres



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Statement-level rollback
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Time to drop old-style (V0) functions?