Thread: Fix comment in btree_gist--1.8--1.9.sql

Fix comment in btree_gist--1.8--1.9.sql

From
Paul Jungwirth
Date:
Hello Hackers,

I noticed that the comment at the top of btree_gist--1.8--1.9.sql says it is the 1.7--1.8 file. Here 
is a one-line patch to fix that.

A related question: In the v18 release we are adding two upgrade files: btree_gist--1.7--1.8.sql and 
btree_gist--1.8-1.9.sql. Why not collapse them into one? Technically we briefly had 
btree_gist--1.7--1.8.sql in 17devel, but it was reverted before release. Would you like a patch 
combining these files? Is it too late for that?

Yours,

-- 
Paul              ~{:-)
pj@illuminatedcomputing.com

Attachment

Re: Fix comment in btree_gist--1.8--1.9.sql

From
Michael Paquier
Date:
On Tue, Jul 08, 2025 at 04:49:30PM -0700, Paul Jungwirth wrote:
> I noticed that the comment at the top of btree_gist--1.8--1.9.sql says it is
> the 1.7--1.8 file. Here is a one-line patch to fix that.
>
> A related question: In the v18 release we are adding two upgrade files:
> btree_gist--1.7--1.8.sql and btree_gist--1.8-1.9.sql. Why not collapse them
> into one? Technically we briefly had btree_gist--1.7--1.8.sql in 17devel,
> but it was reverted before release. Would you like a patch combining these
> files? Is it too late for that?

It would be too late once the branch is officially released, and we
are still in a position where it is possible to combine both.  Let's
do so for REL_18_STABLE, having two upgrade paths for a single major
version is just extra work for no benefit.

For PGSS, we've added several things in a single major release, always
limiting ourselves to a single new version bump.
--
Michael

Attachment