Re: [PATCH] Support % wildcard in extension upgrade filenames - Mailing list pgsql-hackers

From Przemysław Sztoch
Subject Re: [PATCH] Support % wildcard in extension upgrade filenames
Date
Msg-id 29e81ac7-9fad-573a-6319-9a8265320c2d@sztoch.pl
Whole thread Raw
In response to Re: [PATCH] Support % wildcard in extension upgrade filenames  (Yurii Rashkovskii <yrashk@gmail.com>)
Responses Re: [PATCH] Support % wildcard in extension upgrade filenames
List 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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add operator for dividing interval by an interval
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: PG 16 draft release notes ready