Opened 5 years ago

Closed 5 years ago

#4445 closed defect (fixed)

geometry_le: Is not working properly

Reported by: Algunenano Owned by: pramsey
Priority: medium Milestone: PostGIS 2.4.8
Component: postgis Version: 2.4.x
Keywords: Cc:

Description

template_postgis=# Select geometry_lt('Point(0 0)'::geometry, 'Point(1 1)'::geometry);
 geometry_lt 
-------------
 t
(1 row)

template_postgis=# Select geometry_eq('Point(0 0)'::geometry, 'Point(1 1)'::geometry);
 geometry_eq 
-------------
 f
(1 row)

template_postgis=# Select geometry_le('Point(0 0)'::geometry, 'Point(1 1)'::geometry);
 geometry_le 
-------------
 f
(1 row)

(0 0) < (1 1) == T (0 0) == (1 1) == F (0 0) ⇐ (1 1) == F <<<< Should be true

The bug seems to have been introduced in 2.4.

PR: https://github.com/postgis/postgis/pull/428

I'll add a test fixing the one above.

Change History (3)

comment:1 by algunenano, 5 years ago

In 17578:

Fix bug in lwgeom_le

References #4445
Closes https://github.com/postgis/postgis/pull/428

comment:2 by algunenano, 5 years ago

In 17579:

Fix bug in lwgeom_le

References #4445

comment:3 by algunenano, 5 years ago

Resolution: fixed
Status: newclosed

In 17580:

Fix bug in lwgeom_le

Closes #4445

Note: See TracTickets for help on using tickets.