Re: replication_slots usability issue - Mailing list pgsql-hackers

From Andres Freund
Subject Re: replication_slots usability issue
Date
Msg-id 835C001D-7F0B-4C90-BFB3-5D6EE5E71A21@anarazel.de
Whole thread Raw
In response to replication_slots usability issue  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: replication_slots usability issue  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers

On October 29, 2018 1:31:56 PM EDT, "Joshua D. Drake" <jd@commandprompt.com> wrote:
>-Hackers,
>
>
>Working on 9.6 today (unsure if fixed in newer versions). Had an issue
>where the wal was 280G despite max_wal_size being 8G. Found out there
>were stale replication slots from a recent base backup. I went to drop
>the replication slots and found that since the wal_level was set to
>minimal vs replica or higher, I couldn't drop the replication slot.
>Clearly that makes sense for creating a replication slot but it seems
>like an artificial limitation for dropping them.

Uh, huh? How did you manage to start a server with existing slots with that configuration? It should have errored out
atstart... 

Andres

Andres

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: replication_slots usability issue
Next
From: Tom Lane
Date:
Subject: Re: date_trunc() in a specific time zone