I would like editor access to the wiki, my username is magnus.falch@gmail.com and I would like to modify the array_reverse snippets to add this one:
CREATE OR REPLACE FUNCTION array_reverse_custom(input anyarray) RETURNS anyarray language sql returns null on null input parallel safe immutable AS $$ select array_agg(val order by pos desc) from unnest(input) with ordinality as elem(val,pos); $$;