Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZQ95j-0004Zp-2L for pgsql-committers@arkaria.postgresql.org; Fri, 14 Aug 2015 07:07:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZQ95i-0008MR-KW for pgsql-committers@arkaria.postgresql.org; Fri, 14 Aug 2015 07:07:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZQ95W-000899-Q7 for pgsql-committers@postgresql.org; Fri, 14 Aug 2015 07:07:38 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZQ95P-0000tW-TQ for pgsql-committers@postgresql.org; Fri, 14 Aug 2015 07:07:38 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 96FBB860001; Fri, 14 Aug 2015 09:07:31 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-5.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, FS_REPLICA autolearn=no version=3.2.5 Received: from anarazel.de (p5DDC63A0.dip0.t-ipconnect.de [93.220.99.160]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 85F0D860001; Fri, 14 Aug 2015 09:07:28 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id AC1571016A1; Fri, 14 Aug 2015 09:07:24 +0200 (CEST) Date: Fri, 14 Aug 2015 09:07:24 +0200 From: Andres Freund To: Michael Paquier Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Allow pg_create_physical_replication_slot() to reserve WAL. Message-ID: <20150814070724.GC4955@awork2.anarazel.de> References: <20150814065036.GB4955@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2015-08-14 16:03:51 +0900, Michael Paquier wrote: > On Fri, Aug 14, 2015 at 3:50 PM, Andres Freund 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