collect_garray ( GEOMETRY[] ) returns a geometry which contains all the sub_objects from all of the geometries in given array.
Returns
geometry is the simplest possible, based on the types of the collected objects ie. if all are of either X or multiX, then a multiX is returned bboxonly types are treated as null geometries (no sub_objects)