pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Subject: Re: pgsql: Allow users to limit storage reserved by replication slots
Date: Wed, 8 Apr 2020 11:36:02 +0900
Message-ID: <20200408023602.GF1606@paquier.xyz> (raw)
In-Reply-To: <6C515367-5BE9-4C9A-9F50-5DA9BC779E3B@anarazel.de>
References: <20200407232602.GA21559@alvherre.pgsql>
	<11206.1586308431@sss.pgh.pa.us>
	<6C515367-5BE9-4C9A-9F50-5DA9BC779E3B@anarazel.de>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (6+ messages)  latest in thread

Message-ID: <20200408023602.GF1606@paquier.xyz>
Permalink:  ../20200408023602.GF1606@paquier.xyz/
Also on:    postgresql.org/message-id/20200408023602.GF1606@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, andres@anarazel.de, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, horikyota.ntt@gmail.com
  Subject: Re: pgsql: Allow users to limit storage reserved by replication slots
  In-Reply-To: <20200408023602.GF1606@paquier.xyz>
  References: <20200407232602.GA21559@alvherre.pgsql> <11206.1586308431@sss.pgh.pa.us> <6C515367-5BE9-4C9A-9F50-5DA9BC779E3B@anarazel.de> <20200408023602.GF1606@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox