<div dir="ltr"><div>This is very very bad. I had my dev thing down when tried to debug tickets.sql by playing it against different installs - when I'm superuser I succeed in removing spatial_ref_sys. </div><div><br></div><div>Can we instead check that we don't ever try to insert overlapping srids there?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2019 at 7:15 PM 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">Author: strk<br>
Date: 2019-04-10 09:15:55 -0700 (Wed, 10 Apr 2019)<br>
New Revision: 17381<br>
<br>
Modified:<br>
trunk/regress/core/out_geography.sql<br>
Log:<br>
TRUNCATE spatial_ref_sys upfront when running out_geography test<br>
<br>
.. this should probably be done upfront for all tests...<br>
<br>
Modified: trunk/regress/core/out_geography.sql<br>
===================================================================<br>
--- trunk/regress/core/out_geography.sql 2019-04-10 16:15:46 UTC (rev 17380)<br>
+++ trunk/regress/core/out_geography.sql 2019-04-10 16:15:55 UTC (rev 17381)<br>
@@ -2,6 +2,9 @@<br>
--<br>
-- spatial_ref_sys data<br>
--<br>
+<br>
+TRUNCATE spatial_ref_sys;<br>
+<br>
INSERT INTO "spatial_ref_sys" ("srid","auth_name","auth_srid","proj4text") VALUES (4326,'EPSG',4326,'+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs ');<br>
<br>
INSERT INTO "spatial_ref_sys" ("srid", "proj4text") VALUES (102189, '+proj=tmerc +lat_0=4.599047222222222 +lon_0=-74.08091666666667 +k=1.000000 +x_0=1000000 +y_0=1000000 +ellps=intl +towgs84=307,304,-318,0,0,0,0 +units=m +no_defs ');<br>
<br>
_______________________________________________<br>
postgis-tickets mailing list<br>
<a href="mailto:postgis-tickets@lists.osgeo.org" target="_blank">postgis-tickets@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-tickets" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-tickets</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div>Darafei Praliaskouski</div><div>Support me: <a href="http://patreon.com/komzpa" target="_blank">http://patreon.com/komzpa</a></div></div></div></div>