[postgis-tickets] [PostGIS] #5175: <> and != on geometry yield operator is not unique

PostGIS trac at osgeo.org
Fri Sep 22 01:58:34 PDT 2023


#5175: <> and != on geometry yield operator is not unique
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  reopened
  Priority:  medium   |  Milestone:  PostGIS 3.5.0
 Component:  postgis  |    Version:  3.2.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by strk):

 This shows 3.0.9dev is also affected by the ambiguity:
 > regress/run_test.pl --extension --upgrade --upgrade-path unpackaged3.0--
 3.0.9dev -v regress/core/operators
 {{{
  regress/core/operators .. failed (diff expected obtained:
 /tmp/pgis_reg/test_1_diff)
 -----------------------------------------------------------------------------
 --- regress/core/operators_expected     2023-09-22 10:22:12.097326401
 +0200
 +++ /tmp/pgis_reg/test_1_out    2023-09-22 10:56:43.854885462 +0200
 @@ -44,8 +44,8 @@
  eq1|t
  eq2|f
  eq3|f
 -neq1|f
 -neq2|t
 +ERROR:  operator is not unique: geometry <> geometry at character 40
 +ERROR:  operator is not unique: geometry <> geometry at character 40
  cd1|4
  bd1|0
  bd2|1
 }}}

 So the reported problem isn't anything new. But the fix moves the
 ambiguity where previously there wasn't one (TopoGeometry, see #5546)
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5175#comment:22>
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