code: @Support({SQLDialect.POSTGRES})
      public static <T> Field<T[]> arrayAgg(Field<T> field) {
          return DSL.field("array_agg({0})", field.getDataType().getArrayDataType(), field);
      }
docs: Applies the {@code array_agg} aggregate function on a field,
  resulting in the input values being concatenated into an array.
  
  @param field the field to be aggregated
  @param <T> the type of the field
  @return a {@link Field} representing the array aggregate.
  
  @see <a href="http://www.postgresql.org/docs/9.3/static/functions-aggregate.html"/>