Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRLQd-00023n-J2 for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Nov 2018 18:16:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gRLPe-0002oK-5s for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Nov 2018 18:15:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRLPd-0002oD-R5 for pgsql-hackers@lists.postgresql.org; Mon, 26 Nov 2018 18:15:13 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRLPb-0004Rd-I8 for pgsql-hackers@postgresql.org; Mon, 26 Nov 2018 18:15:12 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 03C1022045; Mon, 26 Nov 2018 13:15:10 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 26 Nov 2018 13:15:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=uGjsqnX0RRQSLV6mcgCNZWHW/5n IS0wfdITSCnvbbrY=; b=NUgpP4yfvw824mYviBuS+JRn3wY/LXFSvCqKMSBEnNL B7MA6O7BZAOm0SNBGypFURS1xcbO6uhXEqrPfq/3u634YHC+uArXz5yzKupgVhuF bFea2KLz4fqO74kVjNgxKkGvxwUesRngs3oovZs004cWdq2xoa8eNX06Mv0FSXXA 5BRfrOW3YosIRvXvr+Y0I7S+ZbObrvu3Hs07L2TtM0/LwsUFAddzHhbjV6CjxAlo TbdkWlL5GjVsFn13LUEl4SIgfR5/sdNGMjmxkr8YtYeG0K8w5GsquSTLEK1UtGil L0yk46brR3/B3vf/P6DYCtUQQke0hSlPd0outMOPK5g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=uGjsqn X0RRQSLV6mcgCNZWHW/5nIS0wfdITSCnvbbrY=; b=rYTts2E+8udn65vEkRnnTY csd5bGzAIosXWBq/kEd+J1iyhXs1DVOSE/VvvGsCV7SPuhj1yrje+KC6b72FgyRC awSdi8PhZNKKD30/s1oBk3jjxV+9IeoDCHOPAPA7dtkKejIqGWtnyOy9Fh0IYWSy xs4YHoRO9tbW/Ludxi5kyLuUyMSj04IuTZW+rSPRy8LRzSQW7lijSagX6F70LStz vqa8qSTrvBF7wLxN7PeGMg8pT6mZNuInjNTPDsg/jBNyatJIxUPk+TUpp4eZtqR5 WXt7BiCzvSOKwVTVK4Za8POTttU/WG97NEdP+1o+Pi//6XI9ug211RSTlXRBYvyg == X-ME-Sender: X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id F3ED7102E0; Mon, 26 Nov 2018 13:15:07 -0500 (EST) Date: Mon, 26 Nov 2018 10:15:06 -0800 From: Andres Freund To: Alvaro Herrera Cc: Stephen Frost , Michael Paquier , Peter Eisentraut , Sergei Kornilov , Postgres hackers Subject: Re: pgsql: Integrate recovery.conf into postgresql.conf Message-ID: <20181126181506.fyrwk42kt2hp4qni@alap3.anarazel.de> References: <20181126151852.GW3415@tamriel.snowman.net> <20181126180943.fdj3dkajqtqifekb@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181126180943.fdj3dkajqtqifekb@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-11-26 15:09:43 -0300, Alvaro Herrera wrote: > On 2018-Nov-26, Stephen Frost wrote: > > > I would think we'd have the different GUCs and then the check functions > > would only validate that they're valid inputs and then when we get to > > the point where we're starting to do recovery we check and make sure > > we've been given a sane overall configuration- which means that only > > *one* is set, and it matches the recovery target requested. > > I don't quite understand why it isn't sensible to specify more than one > and just stop recovery (or whatever) when at least one of them becomes > true. Maybe I want to terminate just before commit of transaction > 12345, but no later than 2018-11-11 12:47 in any case. +1