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 1pFY9z-0005HP-7i for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Jan 2023 10:16:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pFY9y-0003n5-59 for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Jan 2023 10:16:42 +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 1pFY9x-0003lr-Rv for pgsql-hackers@lists.postgresql.org; Wed, 11 Jan 2023 10:16:41 +0000 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pFY9w-0003Ah-IQ for pgsql-hackers@lists.postgresql.org; Wed, 11 Jan 2023 10:16:41 +0000 Received: (Authenticated sender: strk@kbt.io) by mail.gandi.net (Postfix) with ESMTPSA id E0BCCC000D; Wed, 11 Jan 2023 10:16:37 +0000 (UTC) Date: Wed, 11 Jan 2023 11:16:36 +0100 From: 'Sandro Santilli' Sender: strk@kbt.io To: Regina Obe Cc: 'Tom Lane' , 'Regina Obe' , pgsql-hackers@lists.postgresql.org Subject: Re: [PATCH] Support % wildcard in extension upgrade filenames Message-ID: <20230111101636.ybho2vesvatwmqyl@c19> References: <20221117095734.igldlk6kngr6ogim@c19> <166914379479.1121.7549798686571352890.pgcf@coridan.postgresql.org> <55512.1673304709@sss.pgh.pa.us> <20230110205259.htcuhg3t7shd367d@c19> <387183.1673394631@sss.pgh.pa.us> <000201d92572$7dcd8260$79688720$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000201d92572$7dcd8260$79688720$@pcorp.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jan 10, 2023 at 11:09:23PM -0500, Regina Obe wrote: > The only way we can fix that in the current setup, is to move to a minor > version mode which means we can > never do micro updates. Or just not with standard PostgreSQL syntax, because we can of course do upgrades using the `SELECT postgis_extensions_upgrade()` call at the moment, which, if you ask me, sounds MORE dangerous than the wildcard upgrade approach because the _implementation_ of that function will always be the OLD implementation, never the NEW one, so if bogus cannot be fixed by a new release w/out a way to upgrade there... --strk;