Navigation : PostGIS 3.0.5 Manual > ST_NumInteriorRing ST_NumInteriorRing ST_NumInteriorRing Prev 8.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