[PostGIS] #5983: Data corruption in topology.topoelement and topology.topogeometry after upgrade to 3.6.0
PostGIS
trac at osgeo.org
Wed Oct 15 06:58:43 PDT 2025
#5983: Data corruption in topology.topoelement and topology.topogeometry after
upgrade to 3.6.0
-----------------------+---------------------------
Reporter: packi | Owner: robe
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 3.6.1
Component: topology | Version: 3.6.x
Resolution: | Keywords:
-----------------------+---------------------------
Comment (by strk):
I believe this is another effect of the same bug:
{{{
strk=# select geometrytype(tg) from public.com01012025_wgs84 limit 2;
geometrytype
--------------
UNEXPECTED
UNEXPECTED
(2 rows)
}}}
Those TopoGeometry objects have feature_type=3 but I'm afraid the int64
change made PostgreSQL read past the bounds of the actual data, as I
anticipated in
https://gitea.osgeo.org/postgis/postgis/pulls/242#issuecomment-13471
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5983#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