Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msSST-0004Mn-2f for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Dec 2021 16:27:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1msSSR-0006tV-H8 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Dec 2021 16:27:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msSSR-0006tM-7Z for pgsql-hackers@lists.postgresql.org; Wed, 01 Dec 2021 16:27:47 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msSSO-000337-VX for pgsql-hackers@postgresql.org; Wed, 01 Dec 2021 16:27:46 +0000 Received: from [10.101.5.171] (unknown [148.59.24.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 00EA85468C; Wed, 1 Dec 2021 16:27:43 +0000 (UTC) Message-ID: <9427c6b3-5e0b-e27f-a2e7-ec1ebc00b582@pgmasters.net> Date: Wed, 1 Dec 2021 11:27:42 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Content-Language: en-US To: "Bossart, Nathan" , Tom Lane Cc: Stephen Frost , Laurenz Albe , Michael Paquier , Pg Hackers , SATYANARAYANA NARLAPURAM References: <417711.1637940660@sss.pgh.pa.us> <20211130142042.GR26257@tamriel.snowman.net> <3404870c1a921bafbcd168c098088981fe082ab1.camel@cybertec.at> <845544A4-0B0E-41D2-903C-C8B9E8A18812@amazon.com> <1661037.1638311167@sss.pgh.pa.us> <1cce9981-2c48-981a-a936-812830dfb3b1@pgmasters.net> From: David Steele 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 11/30/21 18:31, Bossart, Nathan wrote: > On 11/30/21, 2:58 PM, "David Steele" wrote: >> I did figure out how to keep the safe part of exclusive backup (not >> having to maintain a connection) while removing the dangerous part >> (writing backup_label into PGDATA), but it was a substantial amount of >> work and I felt that it had little chance of being committed. > > Do you think it's still worth trying to make it safe, or do you think > we should just remove exclusive mode completely? My preference would be to remove it completely, but I haven't gotten a lot of traction so far. >> Attaching the thread [1] that I started with a patch to remove exclusive >> backup for reference. > > Ah, good, some light reading. :) Sure, if you say so! Regards, -David