PostGIS  2.2.7dev-r@@SVN_REVISION@@
PG_FUNCTION_INFO_V1 ( LWGEOM_envelope  )

makes a polygon of the features bvol - 1st point = LL 3rd=UR 2d only.

(3d might be worth adding). create new geometry of type polygon, 1 ring, 5 points