[postgis-tickets] [PostGIS] #5033: Breaking change in PostGIS 3.1 with introduction of gridSize

PostGIS trac at osgeo.org
Thu Dec 16 03:17:29 PST 2021


#5033: Breaking change in PostGIS 3.1 with introduction of gridSize
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.1.5
 Component:  postgis  |    Version:  3.1.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 I found a better fix, all based on comments-above-functions in the SQL
 file, like:

  {{{ -- Replaced: ST_intersection(geometry,geometry) in 3.1.0 }}}

 The new handling is all automatic (no need to mess with after_upgrade,
 before_upgrade sql scripts) and deals with views. At the moment it will
 still FAIL if the old signature still cannot be dropped after REPLACING
 all views using it, but we could decide to act in a different way and
 allow databases to be in a "still unfinished upgrade" state, reporting
 such state and hints about how to resolve it from {{{
 postgis_full_version() }}}.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5033#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