Re: [PATCH] Support % wildcard in extension upgrade filenames
Sandro Santilli <strk@kbt.io>
From: Sandro Santilli <strk@kbt.io>
To: "Gregory Stark (as CFM)" <stark.cfm@gmail.com>
Cc: Regina Obe <lr@pcorp.us>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2023-03-07T09:00:13Z
Lists: pgsql-hackers
Attachments
- v1-0001-Allow-wildcard-in-extension-upgrade-paths.patch (text/x-diff)
On Mon, Mar 06, 2023 at 02:54:35PM -0500, Gregory Stark (as CFM) wrote: > This patch too is conflicting on meson.build. I'm attaching a rebased version to this email. > Maybe it can just be solved with multiple one-line scripts > that call to a master script? Not really, as the problem we are trying to solve is the need to install many files, and the need to foresee any possible future bug-fix release we might want to support upgrades from. PostGIS is already installing zero-line scripts to upgrade from <old_version> to a virtual "ANY" version which we then use to have a single ANY--<new_version> upgrade path, but we are still REQUIRED to install a file for any <old_version> we want to allow upgrade from, which is what this patch is aimed at fixing. --strk;