pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Allow pg_create_physical_replication_slot() to reserve WAL.
Date: Fri, 14 Aug 2015 09:07:24 +0200
Message-ID: <20150814070724.GC4955@awork2.anarazel.de> (raw)
In-Reply-To: <CAB7nPqSco+RFw9C-VgbCpyurQB3OocS-fuTOa_gFnUy1EE-pyQ@mail.gmail.com>
References: <E1ZP75R-0006wl-Dp@gemulon.postgresql.org>
	<CAB7nPqSwONSfu2Pk_p7kticomS4_4juG8UwAmATqzita7bVsxQ@mail.gmail.com>
	<20150814065036.GB4955@awork2.anarazel.de>
	<CAB7nPqSco+RFw9C-VgbCpyurQB3OocS-fuTOa_gFnUy1EE-pyQ@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 2015-08-14 16:03:51 +0900, Michael Paquier wrote:
> On Fri, Aug 14, 2015 at 3:50 PM, Andres Freund <andres@anarazel.de> wrote:
> > On 2015-08-14 15:32:17 +0900, Michael Paquier wrote:
> >> Why hasn't this addition been spread as well in the replication
> >> protocol? It seems to me that most of the refactoring work has been
> >> done with ReplicationSlotReserveWal.
> >
> > Feel free to send a patch.
> 
> I don't mind giving it a try if time allows... CREATE_REPLICATION_SLOT
> IDENT K_PHYSICAL slot_options? With slot_options: (reserve = on/off)?

Let's discuss that in the -hackers thread. I slightly doubt the generic
options (which don't exist for CREATE) are a good place for that,
they're for the output plugin, this isn't. I think a separate keyword
might be easier.

> And, actually, here is an unrelated patch, the docs are referring to
> confirmed_flush instead of confirmed_flush_lsn ;)

Ick, will apply.

Greetings,

Andres Freund


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (5+ messages)

Message-ID: <20150814070724.GC4955@awork2.anarazel.de>
Permalink:  ../20150814070724.GC4955@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20150814070724.GC4955@awork2.anarazel.de

 · 

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: andres@anarazel.de, michael.paquier@gmail.com
  Subject: Re: pgsql: Allow pg_create_physical_replication_slot() to reserve WAL.
  In-Reply-To: <20150814070724.GC4955@awork2.anarazel.de>
  References: <E1ZP75R-0006wl-Dp@gemulon.postgresql.org> <CAB7nPqSwONSfu2Pk_p7kticomS4_4juG8UwAmATqzita7bVsxQ@mail.gmail.com> <20150814065036.GB4955@awork2.anarazel.de> <CAB7nPqSco+RFw9C-VgbCpyurQB3OocS-fuTOa_gFnUy1EE-pyQ@mail.gmail.com> <20150814070724.GC4955@awork2.anarazel.de>

* 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