[postgis-tickets] r17381 - TRUNCATE spatial_ref_sys upfront when running out_geography test

Sandro Santilli strk at kbt.io
Wed Apr 10 09:15:55 PDT 2019


Author: strk
Date: 2019-04-10 09:15:55 -0700 (Wed, 10 Apr 2019)
New Revision: 17381

Modified:
   trunk/regress/core/out_geography.sql
Log:
TRUNCATE spatial_ref_sys upfront when running out_geography test

.. this should probably be done upfront for all tests...

Modified: trunk/regress/core/out_geography.sql
===================================================================
--- trunk/regress/core/out_geography.sql	2019-04-10 16:15:46 UTC (rev 17380)
+++ trunk/regress/core/out_geography.sql	2019-04-10 16:15:55 UTC (rev 17381)
@@ -2,6 +2,9 @@
 --
 -- spatial_ref_sys data
 --
+
+TRUNCATE spatial_ref_sys;
+
 INSERT INTO "spatial_ref_sys" ("srid","auth_name","auth_srid","proj4text") VALUES (4326,'EPSG',4326,'+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs ');
 
 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 ');



More information about the postgis-tickets mailing list