[postgis-tickets] [PostGIS] #5546: ERROR: operator is not unique: topogeometry <> topogeometry

PostGIS trac at osgeo.org
Fri Sep 22 02:36:36 PDT 2023


#5546: ERROR:  operator is not unique: topogeometry <> topogeometry
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  assigned
  Priority:  blocker   |  Milestone:  PostGIS 3.5.0
 Component:  topology  |    Version:  master
Resolution:            |   Keywords:  regression
-----------------------+---------------------------
Comment (by strk):

 Dropping the `operator <>` for geometry drops the ambiguity:
 {{{
 pg35=# alter extension postgis drop operator <> (geometry, geometry);
 ALTER EXTENSION
 pg35=# drop operator <> (geometry, geometry);
 DROP OPERATOR
 pg35=# select (1,1,1,1)::topogeometry <> (1,1,1,1)::topogeometry;
 f
 }}}

 Somehow the planner seem to still cast topogeometry to geometry even if
 there is no cast defined ?!
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5546#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