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 1nP49S-0007AN-Kn for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Mar 2022 15:10:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nP49R-0004Rd-Fz for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Mar 2022 15:10:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nP49R-0004RU-6b for pgsql-hackers@lists.postgresql.org; Tue, 01 Mar 2022 15:10:57 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nP49O-00009K-Mb for pgsql-hackers@lists.postgresql.org; Tue, 01 Mar 2022 15:10:56 +0000 Received: by mail-pf1-x434.google.com with SMTP id g21so8152533pfj.11 for ; Tue, 01 Mar 2022 07:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=PDYy2c/Xkp74oRE+tc9NHLzJjH6Y6FjQlZGGp2DeDSI=; b=G9C8xAKq/ib7gOOE4yXSPmJcuem5/smBz0bg2VR0FFgIw9Dg1qoFjIDFsJDWsl5Hzk SsM1vj3dd7RXjI9DzWrGsoqrjYK+UxraBmqkUQGSinyeDHgbPFpgBFN3I6R2SNYkyE+x NRmYoYyK7xJExVPTqC/TVGfJzP0bQvkynpI5UvLTrebF95ibyN1DqMtdPsHeOtIL23R5 o9OKbZO3uF9TI6bvNt6eDV0mMfxxwArxp7TQD2/2WIvcyFuYNw0RdtTxe9ak+NB9LGMx aDNXKOGjslqq+N0HdQAqP9x/QkTrG+yw1vb6u0gZzq7yAknwBrR7Nb+tDU8gPshpFRZr ax1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=PDYy2c/Xkp74oRE+tc9NHLzJjH6Y6FjQlZGGp2DeDSI=; b=urs3toXJoD5lrFIPDnmagVAnUFoy6KCM6IMtRnHhv3ki/S7KSZ8WD0DVgtq78ArYpU Nt2k3KSqWGtqTXhyQzexdxhmesD98AXs4a7NnchIGMv6dz6ZSetxps+jOXWmkpZnMOk8 pppa3BnUNQZpJmOXr7Ca2kieu05UXx2GU7hODCyRpZNJJYMH06IthTEOOxQ6yqfjh5iY x9CSnj4UcQqYYIaPvtSUgj+Qkdmxo8FgNDi3cYXeEGXWEk7q8oQqhtF04WLCi01jsqaG /HKN/O8r9qbbkVK3AQa8WG02FOoIpMmRPXBa0yWARkWVCJyepPhE/gfd9Ky6tlx2qxxh HqaA== X-Gm-Message-State: AOAM5336Gq898Oz/0SnBHWWFOJ01J7IPIP+OL3EMNR0gwqKPcTH8pl7P cB9qbQpc5Ub7dN5+ZVqpjhM= X-Google-Smtp-Source: ABdhPJxd5rAOt7654UkaLo47pjmBdYZ6uSA/YfIxQWrqyO2jOzNG/RbsTTkTj/vkJUAzp7lD7urupQ== X-Received: by 2002:a63:f055:0:b0:362:d557:2ccb with SMTP id s21-20020a63f055000000b00362d5572ccbmr22229732pgj.377.1646147451655; Tue, 01 Mar 2022 07:10:51 -0800 (PST) Received: from nathanxps13 ([50.54.155.70]) by smtp.gmail.com with ESMTPSA id s17-20020a17090a441100b001bc1b59fe1asm2379601pjg.38.2022.03.01.07.10.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Mar 2022 07:10:51 -0800 (PST) Date: Tue, 1 Mar 2022 07:10:49 -0800 From: Nathan Bossart To: David Steele Cc: Chapman Flack , pgsql-hackers@lists.postgresql.org Subject: Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Message-ID: <20220301151049.GB1030078@nathanxps13> References: <20220221172306.GA3698472@nathanxps13> <164589413251.1035.2695761148079719188.pgcf@coridan.postgresql.org> <20220226220614.GA673898@nathanxps13> <20220301055100.GA1002387@nathanxps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Mar 01, 2022 at 08:44:51AM -0600, David Steele wrote: > Personally, I am in favor of removing it. We change/rename > functions/tables/views when we need to, and this happens in almost every > release. > > What we need to do is make sure that an older installation won't silently > work in a broken way, i.e. if we remove the exclusive flag somebody > expecting the pre-9.6 behavior might not receive an error and think > everything is OK. That would not be good. > > One option might be to rename the functions. Something like > pg_backup_start/stop. I'm fine with this approach. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com