Opened 8 years ago
Closed 7 years ago
#3578 closed defect (fixed)
ST_NumInteriorRings(POLYGON EMPTY) returns NULL
Reported by: | strk | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.4.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
… I think it should return 0 instead.
Behavior is the same from 1.5 to 2.3.0-dev
Change History (6)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Milestone: | PostGIS 2.2.3 → PostGIS 2.4.0 |
---|
comment:3 by , 7 years ago
Priority: | medium → blocker |
---|
comment:4 by , 7 years ago
Milestone: | PostGIS 2.4.0 → PostGIS 2.5.0 |
---|
is this really a blocker? really I think not.
comment:5 by , 7 years ago
Milestone: | PostGIS 2.5.0 → PostGIS 2.4.0 |
---|---|
Priority: | blocker → medium |
pramsey, this one looks harmless to do even after I call beta too.
Note:
See TracTickets
for help on using tickets.
Note that at the moment NULL is returned on invalid input (while I guess it would make more sense to raise an exception, but that'd be for a separate ticket, eventually).