From: Regina Obe Date: Sun, 25 Sep 2016 06:10:51 +0000 (+0000) Subject: Test to trap FreeBSD crash on small tables. X-Git-Tag: 2.3.0~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f49cbcf970d850abde521d3ca0c887b11fb9cec;p=postgis Test to trap FreeBSD crash on small tables. References #2985 for PostGIS 2.3.0 git-svn-id: http://svn.osgeo.org/postgis/trunk@15138 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/tickets.sql b/regress/tickets.sql index 9672c6759..44fca10ed 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -880,6 +880,13 @@ SELECT '#2870', ST_Summary('Point(151.215289 -33.856885)'::geometry::bytea::geog 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), diff --git a/regress/tickets_expected b/regress/tickets_expected index b5bdf4814..787e5d7f8 100644 --- a/regress/tickets_expected +++ b/regress/tickets_expected @@ -269,6 +269,7 @@ ERROR: invalid GML representation #2788|f|Self-intersection|POINT(1 1) #2870|Point[GS] #2956|t +#2965|LINESTRING(20.9511664253809 52.3984560730436) #2996|t #3119a|121 #3119b|291