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 1ugVBf-0042Ud-R2 for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Jul 2025 21:15:12 +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 1ugVBe-00BDkg-Te for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Jul 2025 21:15:11 +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 1ugVBe-00BDkX-LA for pgsql-bugs@lists.postgresql.org; Mon, 28 Jul 2025 21:15:10 +0000 Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1ugVBb-001Mkd-36 for pgsql-bugs@lists.postgresql.org; Mon, 28 Jul 2025 21:15:10 +0000 Received: by mail-io1-xd30.google.com with SMTP id ca18e2360f4ac-879c734f0e2so132945139f.0 for ; Mon, 28 Jul 2025 14:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753737307; x=1754342107; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=92a9gQZEutN4kyYPaTC2ESOFgIbEyWjofsE+wmBeTn8=; b=nAdMW18KiBHo4HNDX5kz5YuuKbxMMvnA8a7zwCZSIDQCEqdoGnaZRriR7elXxpC1CP IfGKC5ug/Uh3hGqY3+9KrJdZw3APH9NnI8fT3quU32f50Kij9cX9tqzKGlXEymYV4par rQKFS2cyUznoxtHr3QWrcrvCTgvaUaPzPNl3WWuR9NLlfmRc9FxvrCaqlbK37YGhPgg7 eu0aHk2XfLPz5BQ9v3QN9e5GUmAZYbe1IwGqMPDjrAM/wEQIrAQZGImuOJZSLmVFN/bn fSU4Vnk5L6BkwHi6nIA36Zj+yCdVyIHiP9R4AZnYNDNBOmz0NIlflmlAsxEwIa5RU7z3 bXlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753737307; x=1754342107; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=92a9gQZEutN4kyYPaTC2ESOFgIbEyWjofsE+wmBeTn8=; b=EN6wDtEicvBe1tCsb9zRyZ6jQdgOh4r3bovFEg88AzRcow8TGafKbGRfCbyYz2DY0o pH5Jf0IQVlvMRFJQxNpviS/wS27WPWSBm7NRzKf5xfiKUxPRyd1doT0HmbYTwNYYWH6+ +ozmN1KdEBEm6bD6FpuxVvGfr4dMi0GfFC8L32pVQ9aXBiSqizqVdZc9EIkeMDsTMwLy GijD2O8PzIWfvQtIJ6KwTexjUWXXsClLnWTKRi6yMiKP+TJbZ/k0WwKA5l7+0X9VgPRG VUqjUWtLWIu7jeT0z5SXSd4lReWbUHpkT+YlzzWFePFPKxFa56mlFkkT/kYKGDlzPxMk NlbQ== X-Forwarded-Encrypted: i=1; AJvYcCW5V55sdt07bsfiql+KQFtk4l5LZ/cSYu8j8XeyK/DVALJsXCmWuFTKijgg1S8WESaGGY0/5Hd+Kq//@lists.postgresql.org X-Gm-Message-State: AOJu0YzavgRfYg9enWHRgQ2rkv5fV0mkXVbw/C5GsRZJSMwBax3eBomG MaoLCLMNgRfLDIyXAs/PMa+galgGkaI4a2d9hRMF1HyTIQXR2CNGyuGqRetuQA== X-Gm-Gg: ASbGncsFyT3QfIiKauj0Nh/J+hsGdKL+HnpC/HXZLsoj4vq4+qoCZTHz4b8cXIIBIkI vjMjgwlgBixBJ5DiSHk2jYrbfHkPObqvFs76E957udegTKRs0Pfdz41CGp8hOrYtS+9oKH3+eSD AsG89bOYGyr7AHYJmxKUnhkm25EGfn78Ayr8+T+BaByceBWqJM3V7e6pmEM1nd1sBgi9L3BQYOp 8dwd8920+ScKZ0SYacSFvSqi94cFilHIYa3UQbJS24apn51RPUWT+zVvxci8vniZXviS/786iHW tt3dXIdzQox+NDcZM+lClDr8pkr9hg6egBN/zDIFPw5tp70HJvDZzydxSvDHwZ2X46fut87Qprq BGs4YqeCDbclG8HUOFzf80ME/1OqVT+lrKH0RFOxNpJyQakhul/7qIZKkKZffpLMegYaXpjrdXu 61rzbz0vXUez4j X-Google-Smtp-Source: AGHT+IFvYJ84hhISEoaw+6ihhwo7c58Pu7yuXV+b/LsPnrPqsnexYxd24qleXWEZNWCWdsyTSx3RGQ== X-Received: by 2002:a05:6602:6d01:b0:87c:bf5:c242 with SMTP id ca18e2360f4ac-8800f0dc094mr2164186539f.3.1753737306995; Mon, 28 Jul 2025 14:15:06 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-508c9380d52sm2129564173.104.2025.07.28.14.15.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jul 2025 14:15:06 -0700 (PDT) Date: Mon, 28 Jul 2025 16:15:04 -0500 From: Nathan Bossart To: Laurenz Albe Cc: Tom Lane , mert@futo.org, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18964: `ALTER DATABASE ... RESET ...` fails to reset extension parameters that no longer exist Message-ID: References: <18964-ba09dea8c98fccd6@postgresql.org> <2474668.1750451081@sss.pgh.pa.us> <803ddef427b9016be04af9320925e9570d3fcc06.camel@cybertec.at> <8902b6f8d5c19f09f4a052295b9de41d9f6970b5.camel@cybertec.at> 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 Fri, Jul 25, 2025 at 09:15:17AM -0500, Nathan Bossart wrote: > On Thu, Jul 24, 2025 at 11:06:57PM +0200, Laurenz Albe wrote: >> Anyway, I'll mark the patch as "ready for committer". > > Thanks. I'd like to get this fixed in the August releases, so I'm planning > to commit this sometime late next week, barring additional feedback or > objections. I looked into how easily this back-patched to v15 (where commit 88103567c was added), and I noticed that the ALTER SYSTEM code looks a bit different on v15 and v16. Furthermore, I didn't see a simple way to fix it on those versions without first back-patching commit 2d870b4. From the commit message, it looks like Tom didn't back-patch it at the time due to a lack of complaints. I'm currently thinking we should first back-patch that one to at least v15, if not all supported versions, before applying my proposed patch. Thoughts? -- nathan