Error handling inside PL/pgSQL functions

Поиск
Список
Период
Сортировка
От Germán Hüttemann Arza
Тема Error handling inside PL/pgSQL functions
Дата
Msg-id 598837360610121312m13d3aaa0xe0d221e0f3d388f9@mail.gmail.com
обсуждение исходный текст
Ответы Re: Error handling inside PL/pgSQL functions  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Re: Error handling inside PL/pgSQL functions  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Question on MD5 authentication
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: List of supported 64bit OS