Re: [PATCH] Support % wildcard in extension upgrade filenames

Sandro Santilli <strk@kbt.io>

From: 'Sandro Santilli' <strk@kbt.io>
To: Regina Obe <lr@pcorp.us>
Cc: 'Robert Haas' <robertmhaas@gmail.com>, 'Tom Lane' <tgl@sss.pgh.pa.us>, 'Regina Obe' <r@pcorp.us>, pgsql-hackers@lists.postgresql.org
Date: 2023-03-13T12:24:40Z
Lists: pgsql-hackers
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;