Changes between Version 13 and Version 14 of PostGISExtensionPaths
- Timestamp:
- 02/11/22 11:25:39 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PostGISExtensionPaths
v13 v14 83 83 84 84 The 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. 85 Still up for discussion: **To reduce file bloat, we will have <version-minor>.X--<version-minor-current> files**. 86 We will keep 2 micros before for each minor, just in case the user uninstalled the prior minor before installing the new one. 86 87 87 In this model, our extension files look like below:88 88 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. 89 The 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 91 In 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. 90 92 91 93 ---- 92 94 {{{ 93 95 : 94 postgis--3.0. 3--3.3.X.sql96 postgis--3.0.4--3.3.X.sql 95 97 postgis--3.0.5--3.3.X.sql 96 98 postgis--3.0.X--3.3.X.sql … … 98 100 postgis--3.1.4--3.3.X.sql 99 101 postgis--3.1.5--3.3.X.sql 102 postgis--3.2.0--3.3.X.sql 103 postgis--3.2.1--3.3.X.sql 100 104 postgis--3.2.X--3.3.X.sql 101 105 postgis--3.3.X--3.3.0.sql