Re: Need Force flag for pg_drop_replication_slot()

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Need Force flag for pg_drop_replication_slot()
Date: 2015-05-29 18:02:53
Message-ID: 5568A9CD.9050405@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05/29/2015 11:01 AM, Stephen Frost wrote:
> * Josh Berkus (josh(at)agliodbs(dot)com) wrote:
>> > 1. you're almost out of disk space due to a replica falling behind, like
>> > down to 16mb left. Or maybe you are out of disk space.
> This right here is a real issue. What I'd personally like to see is an
> option which says "you have X GB of disk space. Once it's gone, forget
> about all replicas or failing archive commands or whatever, and just
> stop holding on to ancient WAL that you no longer need to operate."

The substantial challenge here is how do we determine that you're
"almost out of disk space"?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-05-29 18:07:34 Re: Need Force flag for pg_drop_replication_slot()
Previous Message Jeff Janes 2015-05-29 18:02:48 Re: RFC: Remove contrib entirely