1、定义数据拼接函数 CREATE OR REPLACE FUNCTION "public"."sfun"("results" _numeric, "val" numeric) RETURNS "pg_catalog"."_numeric" AS $BODY$ BEGIN results :=array_append(results,val::numeric)...