[postgis-tickets] r15141 - Test to trap FreeBSD crash on small tables.

Regina Obe lr at pcorp.us
Sun Sep 25 04:36:40 PDT 2016


Author: robe
Date: 2016-09-25 04:36:39 -0700 (Sun, 25 Sep 2016)
New Revision: 15141

Modified:
   branches/2.2/regress/tickets.sql
   branches/2.2/regress/tickets_expected
Log:
Test to trap FreeBSD crash on small tables.
References #2985 for PostGIS 2.2.3

Modified: branches/2.2/regress/tickets.sql
===================================================================
--- branches/2.2/regress/tickets.sql	2016-09-25 09:19:00 UTC (rev 15140)
+++ branches/2.2/regress/tickets.sql	2016-09-25 11:36:39 UTC (rev 15141)
@@ -906,6 +906,13 @@
 
 SELECT '#2956', st_astwkb(null,0) is null;
 
+-- #2965 --
+CREATE TABLE test_analyze_crash (a integer not null, g geometry);
+INSERT INTO test_analyze_crash values (1, '0102000020E6100000010000006D1092A47FF33440AD4ECD9B00334A40');
+ANALYZE test_analyze_crash;
+SELECT '#2965', ST_AsText(g) FROM test_analyze_crash;
+DROP TABLE test_analyze_crash;
+
 -- #3119 --
 SELECT '#3119a', floor(ST_LengthSpheroid('SRID=4326;LINESTRING (-72.640965 42.11867, -72.6395 42.1187)', 'SPHEROID["GRS_1980",6378137,298.257222101]'));
 -- polygons are also handled

Modified: branches/2.2/regress/tickets_expected
===================================================================
--- branches/2.2/regress/tickets_expected	2016-09-25 09:19:00 UTC (rev 15140)
+++ branches/2.2/regress/tickets_expected	2016-09-25 11:36:39 UTC (rev 15141)
@@ -275,6 +275,7 @@
 #2788|f|Self-intersection|POINT(1 1)
 #2870|Point[GS]
 #2956|t
+#2965|LINESTRING(20.9511664253809 52.3984560730436)
 #3119a|121
 #3119b|291
 #3119c|615



More information about the postgis-tickets mailing list