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

Regina Obe lr at pcorp.us
Sat Sep 24 23:10:52 PDT 2016


Author: robe
Date: 2016-09-24 23:10:51 -0700 (Sat, 24 Sep 2016)
New Revision: 15138

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

Modified: trunk/regress/tickets.sql
===================================================================
--- trunk/regress/tickets.sql	2016-09-25 03:54:32 UTC (rev 15137)
+++ trunk/regress/tickets.sql	2016-09-25 06:10:51 UTC (rev 15138)
@@ -880,6 +880,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;
+
 -- #2996 --
 WITH
   input AS (SELECT 'SRID=4326;POLYGON((26426 65078,26531 65242,26075 65136,26096 65427,26426 65078))'::geometry AS geom),

Modified: trunk/regress/tickets_expected
===================================================================
--- trunk/regress/tickets_expected	2016-09-25 03:54:32 UTC (rev 15137)
+++ trunk/regress/tickets_expected	2016-09-25 06:10:51 UTC (rev 15138)
@@ -269,6 +269,7 @@
 #2788|f|Self-intersection|POINT(1 1)
 #2870|Point[GS]
 #2956|t
+#2965|LINESTRING(20.9511664253809 52.3984560730436)
 #2996|t
 #3119a|121
 #3119b|291



More information about the postgis-tickets mailing list