Navigation : PostGIS 3.1.7 Manual > ST_NumInteriorRing ST_NumInteriorRing ST_NumInteriorRing Prev 5.4. Geometry Accessors Next Name ST_NumInteriorRing — Returns the number of interior rings (holes) of a Polygon. Aias for ST_NumInteriorRings Synopsis integer ST_NumInteriorRing ( geometry a_polygon ) ; See Also ST_NumInteriorRings