array_agg(expression) any array of the argument type input values, including nulls, concatenated into an array
string_agg(expression, delimiter) (text, text) or (bytea, bytea) same as argument types input values concatenated into a string, separated by delimiter