俘获错误 END; teledb$ $$ teledb LANGUAGE plpgsql; CREATE FUNCTION teledb SELECT f27(1,'teledbpg'); NOTICE: 错误代码 : 23505 NOTICE: 出错信息 : node:16385, error duplicate key value violates unique constraint "texceptioniduidx" NOTICE: 发生异常语句 : SQL statement "INSERT INTO texception VALUES(aid,anc)" PL/pgSQL function f27(integer,text) line 7 at SQL statement f27 错误代码 : 23505n出错信息 : node:16385, error duplicate key value violates unique constraint "texceptioniduidx"发生异常语句 : SQL statement "INSERT INTO texception VALUES(aid,anc)"+ PL/pgSQL function f27(integer,text) line 7 at SQL statement (1 row)