Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qt0ej-00ASbm-Ho for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Oct 2023 07:07:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qt0eh-000nV3-K8 for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Oct 2023 07:07:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qt0eg-000nUv-Ja for pgsql-hackers@lists.postgresql.org; Wed, 18 Oct 2023 07:07:48 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qt0ec-001Jqc-3f for pgsql-hackers@lists.postgresql.org; Wed, 18 Oct 2023 07:07:46 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5422B3200A91; Wed, 18 Oct 2023 03:07:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 18 Oct 2023 03:07:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1697612859; x=1697699259; bh=lNpOiDTTiLTI4HwN/5LuVc0EIyPIlaHKDIU D4Z3bDvo=; b=XPL4Mk53QXI2TxfNTWTyFRXC36m8hL3O1h8tvpJSb34YxoSu/VC ziz1VBW0NayP8N/2q9eAu9YyiO03c5rg8aYClGZBN7xCf0CwksRWpfbxdwTaBT3w KMXjlSs8cbgdMICcbkphf0jdD0ut/b4BJn+2WMjwYsaHm2+AxDWJWg48agKIwS6m tpc/ZzpjbmHeNwBCopO6H5PoCe+kUXc6oCxhDdONLVHILpC3bLb1h2O0LUE6pTVr LK6rWEq/9gmxSRkrNC75+81UndxxUzUnTKwXn3UaYjF5mXZu58xqW4rxVEqXF4fj HYRsdZxYnjEqT/jeZsN7GrKw+JWAOMDWNCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1697612859; x= 1697699259; bh=lNpOiDTTiLTI4HwN/5LuVc0EIyPIlaHKDIUD4Z3bDvo=; b=J 5PPbjV/i89W7qOiPmY5c9MX8mFYZ8FpTpgem48pVMtaavkFObITYTfS45asuAUJX sLvSOfEEnlFZgaga6IZ4G+ULsM5hx/xO/bvmGum3bLlE1t/y9aFScNA3QxO09wKz vndizITcjmghMsnMIQTMekOCXAXr9v3g0ZeXWiosBGEDyrvMlm9EMR7/iTd6n8SZ +yg/Pjn5xka62hCaWAmTMolKrDGSQToEXxYdxEXyg32xfw7a4dl++4XI3XUvJQ4r rQZnbuGgzW/lT6aTQAVmOwPMDKUHEA2U0qGYoqEdSbGcanUlmPlcHz3ABqMWskbA cejy52KiKBqGLGUjnAzOw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjeefgdduuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqe enucggtffrrghtthgvrhhnpeehiedvhfeuhfeugefgfeehgeejtdevuefhtefhueefvddu gfdtueehgfefudfhffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 18 Oct 2023 03:07:38 -0400 (EDT) Message-ID: Date: Wed, 18 Oct 2023 09:07:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Rename backup_label to recovery_control Content-Language: en-US To: David Steele , pgsql-hackers@lists.postgresql.org, Robert Haas References: From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 16.10.23 17:15, David Steele wrote: >> I also do wonder with recovery_control is really a better name. Maybe >> I just have backup_label too firmly stuck in my head, but is what that >> file does really best described as recovery control? I'm not so sure >> about that. > > The thing it does that describes it as "recovery control" in my view is > that it contains the LSN where Postgres must start recovery (plus TLI, > backup method, etc.). There is some other informational stuff in there, > but the important fields are all about ensuring consistent recovery. > > At the end of the day the entire point of backup *is* recovery and users > will interact with this file primarily in recovery scenarios. Maybe "restore" is better than "recovery", since recovery also happens separate from backups, but restoring is something you do with a backup (and there is also restore_command etc.).