]> granicus.if.org Git - postgis/commitdiff
#2440 -- changed deprecated example to test by setting to debug mode.
authorRegina Obe <lr@pcorp.us>
Sun, 22 Sep 2013 01:36:09 +0000 (01:36 +0000)
committerRegina Obe <lr@pcorp.us>
Sun, 22 Sep 2013 01:36:09 +0000 (01:36 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11963 b70326c6-7e19-0410-871a-916f4a2858ee

regress/tickets.sql
regress/tickets_expected

index 1eb0f5cc4d40f4d0b4d903a9b5b76d10958aeb36..ab858712540eca458228c7145b8a6f65f6a0f8cb 100644 (file)
@@ -453,7 +453,9 @@ create table t(g geometry);
 select '#877.1', ST_EstimatedExtent('t','g');
 analyze t;
 select '#877.2', ST_EstimatedExtent('public', 't','g');
+SET client_min_messages TO DEBUG;
 select '#877.2.deprecated', ST_Estimated_Extent('public', 't','g');
+SET client_min_messages TO NOTICE;
 insert into t(g) values ('LINESTRING(-10 -50, 20 30)');
 
 -- #877.3
index 8796802372229cca537ba24d85b8294ae7a787a2..cf0beccb122b051138b40188a1a651a9f875d441 100644 (file)
@@ -145,7 +145,7 @@ ERROR:  First argument must be a LINESTRING
 #1273.1|t
 ERROR:  stats for "t.g" do not exist
 ERROR:  stats for "t.g" do not exist
-WARNING:  ST_Estimated_Extent signature was deprecated in 2.1.0. Please use ST_EstimatedExtent
+DEBUG:  ST_Estimated_Extent signature was deprecated in 2.1.0. Please use ST_EstimatedExtent
 ERROR:  stats for "t.g" do not exist
 ERROR:  stats for "t.g" do not exist
 #877.4|-10.15000|20.15000|-50.40000|30.40000