PostGIS  2.3.7dev-r@@SVN_REVISION@@
PG_FUNCTION_INFO_V1 ( LWGEOM_exteriorring_polygon  )

exteriorRing(GEOMETRY) – find the first polygon in GEOMETRY

Returns
its exterior ring (as a linestring). Return NULL if there is no POLYGON(..) in (first level of) GEOMETRY.