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 1pbhDk-0003yz-5a for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Mar 2023 12:24:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pbhDj-0006AC-22 for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Mar 2023 12:24:07 +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 1pbhDi-0006A3-P2 for pgsql-hackers@lists.postgresql.org; Mon, 13 Mar 2023 12:24:06 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pbhDf-00048h-Tf for pgsql-hackers@lists.postgresql.org; Mon, 13 Mar 2023 12:24:05 +0000 Received: (Authenticated sender: strk@kbt.io) by mail.gandi.net (Postfix) with ESMTPSA id 9A91140009; Mon, 13 Mar 2023 12:23:59 +0000 (UTC) Date: Mon, 13 Mar 2023 13:24:40 +0100 From: 'Sandro Santilli' Sender: strk@kbt.io To: Regina Obe Cc: 'Robert Haas' , 'Tom Lane' , 'Regina Obe' , pgsql-hackers@lists.postgresql.org Subject: Re: [PATCH] Support % wildcard in extension upgrade filenames Message-ID: <20230313122440.jhxwrbxlnuptij67@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> <20230308122736.e2mx4e3paxbabcnw@c19> <000a01d951fb$18874660$4995d320$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01d951fb$18874660$4995d320$@pcorp.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Mar 08, 2023 at 03:18:06PM -0500, Regina Obe wrote: > > Then question arises if you have such a map file and you have files as well (the old way). One idea I had in the past about the .control file was to advertise an executable that would take current version and next version and return a list of paths to SQL files to use to upgrade. Then our script could decide what to do, w/out Tom looking :P --strk;