The transfer function builds a List of LWGEOM* allocated in the aggregate memory context.
The pgis_accum_finalfn converts that List into a Pg Array.