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 1ugdvN-005ndB-PI for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Jul 2025 06:34:58 +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 1ugdvM-00FYqE-T2 for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Jul 2025 06:34:57 +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 1ugdvM-00FYq6-JT for pgsql-bugs@lists.postgresql.org; Tue, 29 Jul 2025 06:34:56 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1ugdvJ-001R93-2s for pgsql-bugs@lists.postgresql.org; Tue, 29 Jul 2025 06:34:56 +0000 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-6088d856c6eso10134569a12.0 for ; Mon, 28 Jul 2025 23:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1753770894; x=1754375694; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=jxJsdBvJ8nHrp4TF1aqZaOxqnkxN2R65xW0+E10yNBo=; b=N1TqbQUYmORp8Xp77yd633Q2KGL8GtdgQ3SovkmE/sR3uA+UA976rTgsnUyOFzfzBn FH3t88Lyw9XE1SQ04g0UDHzN4W2Dsv65a3FCiUjB/HY/nDtANKacp4p4UXDZTxD7Gc46 Wbg4f1wGxb1g1emmoLs5TRPvDTG7x+F/QPBOXnklh5cfegKuS0PD7E1nrE468DRlzfBp fQRO9h4rTQHjYIafcmryh/Am29J7L3eQGodw13fGbl4XuRGKKSczOJAXlnk+4rgEfVuh mPbxkIK+ytQYJLksZbJ0eNycSALIBmpRRwQpEyt6ERLRdgqAnQh3yPnregTTc89cUDbx X89w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753770894; x=1754375694; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jxJsdBvJ8nHrp4TF1aqZaOxqnkxN2R65xW0+E10yNBo=; b=ad/BXiox/CfGtbr+pzCRFmhHkWpMK9mJyH+GgXNyi7b4tYH/J/qaOxSZDUKBJZuoyv bpjLR4WfRGHrOJ2/taZvhsz5DpIWjoKp1D9GqZ7vBEaJX27VhgU7AMQWC/N2SIklRYCs WksLd8CP6pvELcVpGIitqaXdYBx0j368xA0XrexxFCs+FAQLZ7Guou3bviFoPQEzQTCS 0tmkwxdl+SDmSGXhdsOzmF69La3BxElEcsUHAS2YaYJfz3V9snKVRFlDZCOCFQ0AfjSI yMK4uVKkV5DO4I46jwMyHZegksiDseBgA1R0LbZ2TGdibpjK1LF40x91d+bctADctoPI y4iQ== X-Forwarded-Encrypted: i=1; AJvYcCVFWNg9SWgTAmTSIsHeAg66IHNIsh/UdduvPlyemA2W32HTuZA3ikoMqLXvdEnus/SiQDCiQ/twSYWx@lists.postgresql.org X-Gm-Message-State: AOJu0Yw/HJFX74vqeR1TSK9ynFQI7gkcGYeviszxLigyhIw8uxTy8dMp it60XSeFKlLNaseffzf/OdrbC6amGQe4EB+Kex3SwQNwveTQJAYWFvuOmQ0B2ns1xNs= X-Gm-Gg: ASbGncs6YJ9MemNBJXUmAXhy97K+pVBwTqPcf7ChbNX5nOhjs6jjvPfmlqs4VfzIeL+ 11T3byxa7MrDpUX19jnhHH0oPPaBJvfASPx/eMktiIbVc1dDlhf76exFwaGi+4UzcwS/85VdKVG kF2ejoxqd2FL8i3l7vYmfUqqvzpIU7eg+lVZaOmjK77gFfX1FrrUyIX0Ln6V9m6VJYXZasDKDE1 Oxapfq6hj3pxKEeUntOO+SVF58b8fU12jUtlisL6wxS/zIrYN5fCvpETCCySAK6+blmVwudTorB brmqPrmgs0PJn+6vwUbFbEy4cebsQsf0KvZ2Btz2YrNpyoOy8pfyL4g4rPKBYmhEq8/2eAHPmGZ f4BU5GahXITCJaoxTpVpC2qHEa2LKe4v2fVAw3RQN3SV001C3RsNQ X-Google-Smtp-Source: AGHT+IH+8QeTO6113HQCpcfC2Uyxp7nUNyCApmSIYaxNme7KGzB0vdJo2kVilVqIO43ofuDs65+4+A== X-Received: by 2002:a17:906:7315:b0:aec:4f33:e7db with SMTP id a640c23a62f3a-af61a0ef054mr1612734366b.56.1753770893943; Mon, 28 Jul 2025 23:34:53 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:260:9b8a:5191:4127:e9f1:710b]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-af635afbd57sm527078066b.134.2025.07.28.23.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jul 2025 23:34:53 -0700 (PDT) Message-ID: Subject: Re: Unexpected Standby Shutdown on sync_replication_slots change From: Laurenz Albe To: Fujii Masao , Amit Kapila Cc: shveta malik , Hugo DUBOIS , pgsql-bugs@lists.postgresql.org Date: Tue, 29 Jul 2025 08:34:52 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2025-07-29 at 13:40 +0900, Fujii Masao wrote: > I think it's basically not acceptable for a server to start up > successfully before a minor version update, but then fail to start with > the same configuration after the update. If that's absolutely necessary > to fix a bug, it might be justifiable. But in this case, I don't think > it's required. >=20 > Blocking startup when sync_replication_slots is enabled and wal_level > is not logical could be helpful. But that feels more like an improvement > than a bug fix. I'm fine adding that to master, but I don't think we shou= ld > apply it to old branches. >=20 > That said, both Shveta and Amit support backpatching this change, > so I'd like to hear more opinions before we decide. I side with you on that one. I think it would be fine to backpatch the breaking change to v18, if we mention the behavior change in the release notes. Yours, Laurenz Albe