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

Przemysław Sztoch <przemyslaw@sztoch.pl>

From: Przemysław Sztoch <przemyslaw@sztoch.pl>
To: Yurii Rashkovskii <yrashk@gmail.com>
Cc: Eric Ridge <eebbrr@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Robert Haas <robertmhaas@gmail.com>, Regina Obe <lr@pcorp.us>, strk@kbt.io, Regina Obe <r@pcorp.us>, pgsql-hackers@lists.postgresql.org
Date: 2023-05-18T21:14:52Z
Lists: pgsql-hackers
For me, it would be a big help if you could specify a simple from/to 
range as the source version:
myext--1.0.0-1.9.9--2.0.0.sql
myext--2.0.0-2.9.9--3.0.0.sql
myext--3.0.0-3.2.3--3.2.4.sql

The idea of % wildcard in my opinion is fully contained in the from/to 
range.

The name "ANY" should also be allowed as the source version.
Some extensions are a collection of CREATE OR REPLACE FUNCTION. All 
upgrades are one and the same SQL file.

For example: address_standardizer_data_us--ANY--3.2.4.sql
-- 
Przemysław Sztoch | Mobile +48 509 99 00 66