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 strk, 8 years ago

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).

comment:2 by robe, 8 years ago

Milestone: PostGIS 2.2.3PostGIS 2.4.0

comment:3 by dbaston, 7 years ago

Priority: mediumblocker

comment:4 by robe, 7 years ago

Milestone: PostGIS 2.4.0PostGIS 2.5.0

is this really a blocker? really I think not.

comment:5 by robe, 7 years ago

Milestone: PostGIS 2.5.0PostGIS 2.4.0
Priority: blockermedium

pramsey, this one looks harmless to do even after I call beta too.

comment:6 by dbaston, 7 years ago

Resolution: fixed
Status: newclosed

Resolved at r15620

Note: See TracTickets for help on using tickets.