Changes between Version 3 and Version 4 of Ticket #5166


Ignore:
Timestamp:
06/06/22 07:24:36 (3 years ago)
Author:
robe
Comment:

Replying to strk:

Is there a typo in the original description of this ticket ? I don't understand the postgis--3.0 line, and I see spaces before the --3.4.X.sql which I'm not sure how to interpret.

Yes

Also, I think Paul idea was to have upgrade scripts look like:

`postgis-3.1.1—3.1.MAX.sql' or similar ?

I don't see the benefit of having an upgrade path called 3.3.X--3.3.0 otherwise (would look like being open for downgrades) ?

Fixed

How does this simplify things ? What problem does it solve ?

It simplifies things because:

1) We will eventually have fewer files (savings of not having micro scripts moving forward) Note even if PostgreSQL project were to fix this, we'd still need something like this for older versions of PostgreSQL since they likely will not backport that.

2) Using Paul's 0 byte, the file sizes will be smaller even if the packager doesn't symlink.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5166

    • Property Summary Remove Micro (Patch level) from our extension scriptsRemove Micro (Patch level) from our extension scripts and use 0-byte scripts
  • Ticket #5166 – Description

    v3 v4  
    77{{{
    88# these all 0 byte
    9  postgis--3.0.0--3.3.X.sql
    10  postgis--3.0.1--3.3.X.sql
     9 postgis--3.0.0--3.3.MAX.sql
     10 postgis--3.0.1--3.3.MAX.sql
    1111 :
    12  postgis--3.1.0--3.3.X.sql
    13  postgis--3.1.1--3.3.X.sql
    14  postgis--3.1.2--3.3.X.sql
     12 postgis--3.1.0--3.3.MAX.sql
     13 postgis--3.1.1--3.3.MAX.sql
     14 postgis--3.1.2--3.3.MAX.sql
    1515:
    1616:
    17 postgis--3.2.1--3.3.X.sql
    18 postgis--3.3.0alpha1--3.3.X.sql
    19 postgis--3.3.0dev--3.3.X.sql
     17postgis--3.2.1--3.3.MAX.sql
     18postgis--3.3.0alpha1--3.3.MAX.sql
     19postgis--3.3.0dev--3.3.MAX.sql
    2020
    2121# these not 0 byte
    22 postgis--3.3.X--3.3.sql
     22postgis--3.3.MAX--3.3.sql
    2323postgis-3.3next--3.3.sql
    2424postgis-3.3--3.3next.sql
    2525}}}
    26 
    2726
    2827
     
    3635{{{
    3736# these all 0 byte
    38  postgis--3.0
     37 postgis--3.0.0--3.3.MAX.sql
    3938 :
    40  postgis--3.1.0--3.4.X.sql
    41  postgis--3.1.1--3.4.X.sql
    42  postgis--3.1.2--3.4.X.sql
     39 postgis--3.1.0--3.4.MAX.sql
     40 postgis--3.1.1--3.4.MAX.sql
     41 postgis--3.1.2--3.4.MAX.sql
    4342:
    4443:
    45 postgis--3.2.1--3.4.X.sql
    46 postgis--3.3--3.4.X.sql #regardless which 3.3 micro release, no new files
     44postgis--3.2.1--3.4.MAX.sql
     45postgis--3.3--3.4.MAX.sql #regardless which 3.3 micro release, no new files
    4746
    4847# these not 0 byte
    49 postgis--3.4.X--3.4.sql
     48postgis--3.4.MAX--3.4.sql
    5049postgis-3.4next--3.4.sql
    5150postgis-3.4-3.4next.sql