[postgis-tickets] [PostGIS] #5092: Stop filling up the disk with upgrade scripts
PostGIS
trac at osgeo.org
Thu Feb 10 04:52:02 PST 2022
#5092: Stop filling up the disk with upgrade scripts
-----------------------------------+------------------
Reporter: strk | Owner: strk
Type: enhancement | Status: new
Priority: medium | Milestone:
Component: build/upgrade/install | Version:
Keywords: |
-----------------------------------+------------------
They are really too much:
{{{
[strk at c19:~] ls `pg_config --sharedir`/extension/postgis* | wc -l
1922
}}}
And mine is a relatively new machine.
This ticket is a placeholder to bring the idea of having a single, unique
upgrade script (one per *target*) upstream to PostgreSQL.
We're effectively having such single file upgrade since forever (before
EXTENSION even existed).
Starting with commit [cff01033637ddcf984d12edbbecc9f70b0e4de4e/git]
(3.3.0dev) the `postgis_extensions_upgrade()` effectively makes the
`ANY--<target>` extension file the ONLY file required for the upgrade.
The `loader/postgis` script already did this as of commit
[8ab82431e5b080ee0f65810afecd9028e2bc3744/git] (3.1).
We started installing that file with commit
[04e8d00d8b55df69705c316fb2feecce23a29bfc/git] (2.5)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5092>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list