Re: pgsql: Allow users to limit storage reserved by replication slots - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pgsql: Allow users to limit storage reserved by replication slots
Date
Msg-id 20200408023602.GF1606@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Allow users to limit storage reserved by replication slots  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, Apr 07, 2020 at 07:10:07PM -0700, Andres Freund wrote:
> I have not looked at the source, but the error messages show LSNs
> and bytes. I can't really imagine how that could be made stable.

Another bad news is that this is page-size dependent.  What if you
removed pg_size_pretty() and replaced it with a condition that returns
a boolean status in the result itself?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: implicit declaration of datumIsEqual in parse_coerce.c
Next
From: Etsuro Fujita
Date:
Subject: Re: d25ea01275 and partitionwise join