Hello,
on this page is not working example
https://wiki.postgresql.org/wiki/First/last_(aggregate)
CREATE AGGREGATE public.first (anyelement)(
sfunc = public.first_agg,
stype = anyelement,
parallel = safe
);
CREATE AGGREGATE
basetype = anyelement - base element must be in aggregate argument to support new syntax with PARALLEL
Have nice day.
David