[postgis-tickets] [PostGIS] #2440: Remove warnings from functions deprecated in 2.1.0

PostGIS trac at osgeo.org
Fri Sep 27 08:10:35 PDT 2013


#2440: Remove warnings from functions deprecated in 2.1.0
----------------------------+-----------------------------------------------
  Reporter:  realityexists  |       Owner:  robe         
      Type:  defect         |      Status:  reopened     
  Priority:  medium         |   Milestone:  PostGIS 2.1.1
 Component:  postgis        |     Version:  2.1.x        
Resolution:                 |    Keywords:               
----------------------------+-----------------------------------------------

Comment(by strk):

 After reading the comment in #1994, what I can suggest is that the
 _postgis_deprecate function checks the version of the deprecation (it gets
 it as an argument) and if it's at distance 1 it raises a NOTICE, if it is
 +1 raises a WARNING.

 But DEBUG is really way too low IMHO.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2440#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list