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

From: Christoph Berg <cb(at)df7cb(dot)de>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Cc: Sandro Santilli <strk(at)kbt(dot)io>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Regina Obe <lr(at)pcorp(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [PATCH] Support % wildcard in extension upgrade filenames
Date: 2022-11-11 16:07:13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Re: Sandro Santilli
> I'm attaching an updated version of the patch. This time the patch
> is tested. Nothing changes unless the .control file for the subject
> extension doesn't have a "wildcard_upgrades = true" statement.
> When wildcard upgrades are enabled, a file with a "%" symbol as
> the "source" part of the upgrade path will match any version and

Fwiw I believe wildcard_upgrades isn't necessary in the .control file.
If there are no % files, none would be used anyway, and if there are,
it's clear it's meant as wildcard since % won't appear in any remotely
sane version number.


In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Önder Kalacı 2022-11-11 16:16:36 Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher
Previous Message Christoph Berg 2022-11-11 15:59:06 Re: [PATCH] Support % wildcard in extension upgrade filenames