Opened 2 years ago

Closed 2 years ago

#5102 closed defect (fixed)

CopyTopology: ERROR: column "geom" is of type geometry but expression is of type integer

Reported by: strk Owned by: strk
Priority: blocker Milestone: PostGIS 3.3.0
Component: topology Version: master
Keywords: Cc:

Description

Starting with commit [6893c542220566e29445faf6b2de2b54aca77169/git] the order of fields in the topology primitive tables changed, which in turn broke CopyTopology code assuming new and old topologies having the same structure.

We should probably maintain the same structure, to be backward compatibility with external code, but avoiding the assumption in internal code would be also a good thing.

Change History (2)

comment:1 by strk, 2 years ago

WIP fix (backward compatibility restore): https://git.osgeo.org/gitea/postgis/postgis/pulls/96

comment:2 by Sandro Santilli <strk@…>, 2 years ago

Resolution: fixed
Status: newclosed

In f5b476bf/git:

Restore backward compatible order of fields in topology node table

Closes #5102

Note: See TracTickets for help on using tickets.