結果 : postgresql create custom aggregate function