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

PostGIS trac at osgeo.org
Fri Sep 22 02:35:22 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):

 I've tried dropping the cast from topogeometry to integer[] so that the
 only implicit cast is toward geometry:

 {{{
 pg35=# \dC topogeometry
                    List of casts
  Source type  | Target type | Function | Implicit?
 --------------+-------------+----------+-----------
  topogeometry | geometry    | geometry | yes
 (1 row)
 }}}

 Still, `topogeometry <> topogeometry` is reported as being ambiguous,
 while `geometry <> geometry` is not:

 {{{
 pg35=# select 'POINT EMPTY'::geometry <> 'POINT EMPTY'::geometry;
 f
 pg35=# select (1,1,1,1)::topogeometry <> (1,1,1,1)::topogeometry;
 ERROR:  operator is not unique: topogeometry <> topogeometry
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5546#comment:5>
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