On Sun, Nov 24, 2024 at 2:55 PM Christophe Pettus <xof@thebuild.com> wrote:
> On Nov 24, 2024, at 09:15, Ron Johnson <ronljohnsonjr@gmail.com> wrote: > > Doesn't the existence of a replication slot force PG to retain WAL files when replication is broken?
It does. I don't recall if the OP said that they were using a persistent replication slot or not; it's not as common with binary replication as with logical replication.
Really? I wonder why people fight with configuring max_wal_size and wal_keep_size, when replication slots do all the work for you.