On Thu, Jun 9, 2022 at 11:24 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> writes:
> > How about we provide a function to force-drop a replication slot?
>
> Isn't this akin to filing off the safety interlock on the loaded revolver
> you keep in your hip pocket? IMO the entire point of replication slots
> is to not make it easy to lose data.
Agree. How about making the function superuser-only?
Regards,
Bharath Rupireddy.