On Thu, 2006-10-12 at 16:12 -0400, Germán Hüttemann Arza wrote: > I am writing triggers procedures in PL/pgSQL and I need to handle some > errors inside the procedures. > Specifically, I am doing a CAST(char AS integer) and I want to know > when the char isn't a digit. How can I get do that? > > Regards, > > -- > Germán Hüttemann <http://www.postgresql.org/docs/8.1/static/plpgsql-control- structures.html#PLPGSQL-ERROR-TRAPPING> Does this help? Regards, Jeff Davis