PostGIS  2.5.0dev-r@@SVN_REVISION@@
PG_FUNCTION_INFO_V1 ( pgis_geometry_accum_transfn  )

The transfer function hooks into the PostgreSQL accumArrayResult() function (present since 8.0) to build an array in a side memory context.