ST_IsRing(geom: Geometry)
true
false
SELECT ST_IsRing(ST_GeomFromText('LINESTRING(0 0, 0 1, 1 1, 1 0, 0 0)'))
Was this page helpful?