Changes between Version 13 and Version 14 of PostGISExtensionPaths


Ignore:
Timestamp:
Feb 11, 2022, 11:25:39 AM (2 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • PostGISExtensionPaths

    v13 v14  
    8383
    8484The 0-byte file and strip model.  This approach creates 0 or very small byte files, with their existense solely to maintain PostgreSQL extension chain model.
    85 To reduce file bloat, we will have <version-minor>--<version-minor-curren>MAX files.  Anyone who is coming from a prior minor will have a file such as postgis--3.2.1--3.2MAX version OR use the postgis_extensions_upgrade() function.
     85Still up for discussion: **To reduce file bloat, we will have <version-minor>.X--<version-minor-current> files**. 
     86We will keep 2 micros before for each minor, just in case the user uninstalled the prior minor before installing the new one.
    8687
    87 In this model, our extension files look like below:
    8888
    89 our generated extension upgrade scripts will look like the below, with only the postgis--3.3.X--3.3.0.sql having any upgrade statements in it.
     89The assumption is anyone coming from a prior minor will have a file such as postgis--3.2.1--3.2.X version OR use the postgis_extensions_upgrade() function.
     90
     91In this model, our generated extension upgrade scripts will look like the below, with only the postgis--3.3.X--3.3.0.sql having any upgrade statements in it.
    9092
    9193----
    9294{{{
    9395:
    94 postgis--3.0.3--3.3.X.sql
     96postgis--3.0.4--3.3.X.sql
    9597postgis--3.0.5--3.3.X.sql
    9698postgis--3.0.X--3.3.X.sql
     
    98100postgis--3.1.4--3.3.X.sql
    99101postgis--3.1.5--3.3.X.sql
     102postgis--3.2.0--3.3.X.sql
     103postgis--3.2.1--3.3.X.sql
    100104postgis--3.2.X--3.3.X.sql
    101105postgis--3.3.X--3.3.0.sql