postgresql 自定义aggregate function实现reduce

create or replace function lmy(first INTEGER, item INTEGER) returns INTEGER as $$ BEGIN return first * item; END; $$ LANGUAGE plpgsql; create aggregate yml(INTEGER) ( sfunc = lmy, stype = INTEG
相关文章
相关标签/搜索