<div dir="ltr">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.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 7, 2022 at 6:44 AM Sandro Santilli <<a href="mailto:strk@kbt.io">strk@kbt.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jun 06, 2022 at 10:38:18AM -0400, Regina Obe wrote:<br>
> But you are okay with 0 byte files as Paul proposed right?  That wouldn’t change functionality.  Just changing symlink to 0 byte.<br>
> I don’t know about any other systems or how people package but packaging symlinks doesn’t work well on windows.<br>
<br>
Could the 0-bytes idea be described more clearly ?<br>
I did not understand it.<br>
Current situation is that PostGIS-3.3.0 installs a upgrade script:<br>
<br>
  postgis--ANY--3.3.0.sql<br>
<br>
And a symlink (on UNIX derived systems) or copies (on systems NOT<br>
supporting symlinks) for each supported version, in the form:<br>
<br>
  postgis--${older}--ANY.sql -> postgis--ANY--3.3.0.sql<br>
<br>
What would the 0-bytes layout be ?<br>
<br>
> For PostGIS 3.3.0 my package size doubled because we now have the spatial_ref_sys.sql files included in every micro.<br>
<br>
I was hoping to get 3.3.0 out with NO spatial_ref_sys at all, using<br>
the fetch-from-proj thing.<br>
<br>
> So I guess size is more important to me now as it is causing me to run out of disk space faster.<br>
<br>
Is Windows the only system affected by this lack of symlinks ?<br>
Does it support any other form of links ? (UNIX for example also<br>
supports hard-links)<br>
<br>
--strk;<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br>
</blockquote></div>