select (st_dumppoints(st_buffer(st_makepoint(0,0),10000,100000))).geom g
) foo;
-SELECT 'buffer_interrupted_on_time', now()-t < '150ms'::interval
-FROM _time; UPDATE _time SET t = now();
+-- it may take some more to interrupt st_buffer, see
+-- https://travis-ci.org/postgis/postgis/builds/40211116#L2222-L2223
+SELECT CASE WHEN now()-t < '200ms'::interval THEN
+ 'buffer interrupted on time'
+ ELSE
+ 'buffer interrupted late: ' || ( now()-t )::text
+ END FROM _time; UPDATE _time SET t = now();
SELECT
ST_Segmentize(ST_MakeLine(ST_MakePoint(4,39), ST_MakePoint(1,41)),
1e-100);
-SELECT 'segmentize_interrupted_on_time', now()-t < '150ms'::interval
-FROM _time; UPDATE _time SET t = now();
+SELECT CASE WHEN now()-t < '150ms'::interval THEN
+ 'segmentize interrupted on time'
+ ELSE
+ 'segmentize interrupted late: ' || ( now()-t )::text
+ END FROM _time; UPDATE _time SET t = now();
SET statement_timeout TO 0;
ERROR: canceling statement due to statement timeout
-buffer_interrupted_on_time|t
+buffer interrupted on time
NOTICE: liblwgeom code interrupted
ERROR: canceling statement due to statement timeout
-segmentize_interrupted_on_time|t
+segmentize interrupted on time
1|LINESTRING(0 0,2 0,4 0)