clone basic database structure from zhquiz
This commit is contained in:
1 parent
6be2365fc6
commit
11d44ccfd3
18 files changed
+1594
No files matched your search
@@ -0,0 +1,3 @@
|
||||
CREATE FUNCTION array_distinct(anyarray) RETURNS anyarray AS $f$
|
||||
SELECT array_agg(DISTINCT x) FROM unnest($1) t(x);
|
||||
$f$ LANGUAGE SQL IMMUTABLE;
|
||||
Reference in new issue
Block a user