[postgis-devel] PSC Vote: Get rid of micro in PostGIS Extension scripts (and comments from others)

Sandro Santilli strk at kbt.io
Tue Jun 7 05:35:29 PDT 2022


On Mon, Jun 06, 2022 at 10:38:18AM -0400, Regina Obe wrote:
> But you are okay with 0 byte files as Paul proposed right?  That wouldn’t change functionality.  Just changing symlink to 0 byte.
> I don’t know about any other systems or how people package but packaging symlinks doesn’t work well on windows.

Could the 0-bytes idea be described more clearly ?
I did not understand it.
Current situation is that PostGIS-3.3.0 installs a upgrade script:

  postgis--ANY--3.3.0.sql

And a symlink (on UNIX derived systems) or copies (on systems NOT
supporting symlinks) for each supported version, in the form:

  postgis--${older}--ANY.sql -> postgis--ANY--3.3.0.sql

What would the 0-bytes layout be ?

> For PostGIS 3.3.0 my package size doubled because we now have the spatial_ref_sys.sql files included in every micro.

I was hoping to get 3.3.0 out with NO spatial_ref_sys at all, using
the fetch-from-proj thing.

> So I guess size is more important to me now as it is causing me to run out of disk space faster.

Is Windows the only system affected by this lack of symlinks ?
Does it support any other form of links ? (UNIX for example also
supports hard-links)

--strk;


More information about the postgis-devel mailing list