[postgis-tickets] [PostGIS] #4825: Inconsistent results when running SELECT queries with ST_MakeValid() on invalid geometry repeatedly

PostGIS trac at osgeo.org
Tue Jan 5 07:12:22 PST 2021


#4825: Inconsistent results when running SELECT queries with  ST_MakeValid() on
invalid geometry repeatedly
----------------------+---------------------------
  Reporter:  neumann  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.1.1
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 Please try  with current master branch (lacks an automated testcase,
 still).
 Basically we were passing the input geometry to a mutator function
 (lwgeom_make_valid).
 I'm not sure WHY PostgreSQL writes the modified geometry back to disk (I
 would expect it NOT to do it) but this is what seems to be happening to
 me. The patch above makes sure we work on a copy rather than on the
 original geometry.

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