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

Bruce Rindahl bruce.rindahl at gmail.com
Tue Jun 7 06:20:32 PDT 2022


Windows does support symbolic links but you need admin privileges to create
them.  I believe you need admin rights to install PostgreSQL but not
PostGIS.

On Tue, Jun 7, 2022 at 6:44 AM Sandro Santilli <strk at kbt.io> wrote:

> 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;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20220607/39b2e2ea/attachment.htm>


More information about the postgis-devel mailing list