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 1gRZOW-0002ve-72 for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Nov 2018 09:11:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gRZOV-0002kL-2o for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Nov 2018 09:10:59 +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 1gRZOU-0002kD-J5 for pgsql-hackers@lists.postgresql.org; Tue, 27 Nov 2018 09:10:58 +0000 Received: from forward501o.mail.yandex.net ([2a02:6b8:0:1a2d::611]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRZOQ-0007iE-Aj for pgsql-hackers@postgresql.org; Tue, 27 Nov 2018 09:10:57 +0000 Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward501o.mail.yandex.net (Yandex) with ESMTP id 8EE561E809F0; Tue, 27 Nov 2018 12:10:28 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Z4ivaQXbcT-ARSSAMnk; Tue, 27 Nov 2018 12:10:27 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zsrv.org; s=mail; t=1543309827; bh=vZt5YGv8qMBfsNGPmn4UGhqmlVk7hrT8UhZ2k8mgO4M=; h=From:To:Cc:In-Reply-To:References:Subject:Date:Message-Id; b=ENbplWxPfflU14TmEyODtngpePv4PFLqdgQ9sab/wGsTZ1VB8C8usChBQpnVgaaX0 vqIBq+imCvM8kIppwrSDAE3cUsXxRxSZGGo/pCG6D2OFea82toXDDoT/MN5AIdwCAI NsBsa+qDDF/+ZNcgZRosGesn96LGdgS+OMM6lBbI= Authentication-Results: mxback2g.mail.yandex.net; dkim=pass header.i=@zsrv.org Received: by sas2-b4ed770db137.qloud-c.yandex.net with HTTP; Tue, 27 Nov 2018 12:10:27 +0300 From: Sergei Kornilov To: Peter Eisentraut , Stephen Frost Cc: Michael Paquier , Postgres hackers In-Reply-To: <873d2d6b-8a85-2274-7222-abe2f0602f5d@2ndquadrant.com> References: <20181126002849.GD1776@paquier.xyz> <27802171543235530@iva2-6ec8f0a6115e.qloud-c.yandex.net> <20181126131640.GD14598@paquier.xyz> <20181126151852.GW3415@tamriel.snowman.net> <29465041543250389@iva4-f774db2b5297.qloud-c.yandex.net> <20181126172118.GY3415@tamriel.snowman.net> <145311543257278@sas1-0a6c2e2b59d7.qloud-c.yandex.net> <20181126191253.GZ3415@tamriel.snowman.net> <457381543264217@iva5-84bc572481fe.qloud-c.yandex.net> <873d2d6b-8a85-2274-7222-abe2f0602f5d@2ndquadrant.com> Subject: Re: pgsql: Integrate recovery.conf into postgresql.conf MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 27 Nov 2018 12:10:27 +0300 Message-Id: <3206661543309827@sas2-b4ed770db137.qloud-c.yandex.net> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello >>  - recovery_target = immediate was replaced with recovery_target_immediate bool GUC > > Why? Due this comment: https://www.postgresql.org/message-id/20181126172118.GY3415%40tamriel.snowman.net > I've not been following this very closely, but seems like > recovery_target_string is a bad idea.. Why not just make that > 'recovery_target_immediate' and make it a boolean? Having a GUC that's > only got one valid value seems really odd. regards, Sergei