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

From Christoph Berg
Subject Re: [PATCH] Support % wildcard in extension upgrade filenames
Date
Msg-id Y25zMZG45ENExfNL@msg.df7cb.de
Whole thread Raw
In response to Re: [PATCH] Support % wildcard in extension upgrade filenames  (Sandro Santilli <strk@kbt.io>)
Responses RE: [PATCH] Support % wildcard in extension upgrade filenames
List 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.

Christoph



pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: [PATCH] Support % wildcard in extension upgrade filenames
Next
From: Önder Kalacı
Date:
Subject: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher