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

PostGIS trac at osgeo.org
Fri Sep 27 10:18:12 PDT 2013


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

Comment(by realityexists):

 If this the above is too hard then I'd suggest a 3-stage approach:

 Release N adds a DEBUG message, ie. "you should start thinking about
 fixing it, but you still have time"
 Release N+1 change it to a WARNING message, ie. "you really should fix
 this now"
 Release N+2 removes the function

 This way, even if nobody saw the DEBUG message and developers didn't
 become aware of the deprecation until release N+1, they can still change
 the code straight-away as long as all the users are no more than 1 major
 version behind (release N).

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2440#comment:12>
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