Opened 3 years ago

Closed 23 months 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: trunk
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 Changed 3 years ago by strk

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 Changed 3 years ago by robe

Milestone: PostGIS 2.2.3PostGIS 2.4.0

comment:3 Changed 2 years ago by dbaston

Priority: mediumblocker

comment:4 Changed 23 months ago by robe

Milestone: PostGIS 2.4.0PostGIS 2.5.0

is this really a blocker? really I think not.

comment:5 Changed 23 months ago by robe

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 Changed 23 months ago by dbaston

Resolution: fixed
Status: newclosed

Resolved at r15620

Note: See TracTickets for help on using tickets.