]> granicus.if.org Git - postgis/commitdiff
Reset timer after creating input tables (#2989)
authorSandro Santilli <strk@keybit.net>
Tue, 11 Nov 2014 09:16:05 +0000 (09:16 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 11 Nov 2014 09:16:05 +0000 (09:16 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13124 b70326c6-7e19-0410-871a-916f4a2858ee

regress/interrupt.sql
regress/interrupt_buffer.sql
regress/interrupt_relate.sql

index 9fa0b3e2751faf6dcf0c7003758cc54fb1da6d46..e17182b2c5516cc162b32cb2921e448dc4e0b3fa 100644 (file)
@@ -17,17 +17,6 @@ BEGIN
 END;
 $$ LANGUAGE 'plpgsql' VOLATILE;
 
-CREATE TEMP TABLE _inputs AS
-SELECT 1::int as id, ST_Collect(g) g FROM (
- SELECT ST_MakeLine(
-   ST_Point(cos(radians(x)),sin(radians(270-x))),
-   ST_Point(sin(radians(x)),cos(radians(60-x)))
-   ) g
- FROM generate_series(1,720) x
- ) foo
-;
-
-
 -----------------
 -- ST_Segmentize
 -----------------
index 8676bae49cf0ac8a2e03e7bd75fbb4163bd563ac..1c4309ff5eed770011ccf269e9ab57318fe77604 100644 (file)
@@ -25,6 +25,7 @@ SELECT 1::int as id, ST_Collect(g) g FROM (
  ) foo
 ;
 
+UPDATE _time SET t = now(); -- reset time as creating tables spends some
 
 -----------------
 -- ST_Buffer
index aef907596cd950d4f98a719d53c617bf0a5a9f79..3837e52fed0fa3007d69b9da6d13a7ed6b6f487a 100644 (file)
@@ -25,6 +25,7 @@ SELECT 1::int as id, ST_Collect(g) g FROM (
  ) foo
 ;
 
+UPDATE _time SET t = now(); -- reset time as creating tables spends some
 
 -----------------------------
 -- IM9 based predicates