Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Postgres array concatenation aggregate function.
CREATE AGGREGATE array_accum (anyarray)
(
sfunc = array_cat,
stype = anyarray,
initcond = '{}'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment