I am writing triggers procedures in PL/pgSQL and I need to handle someerrors inside the procedures.Specifically, I am doing a CAST(char AS integer) and I want to know when thechar isn't a digit. How can I get do that?
Regards,
-- Germán Hüttemann