Skip to content

Instantly share code, notes, and snippets.

@sheeju sheeju/agg.sql forked from ryandotsmith/agg.sql
Created Apr 16, 2018

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
You can’t perform that action at this time.