Re: Error handling inside PL/pgSQL functions

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Error handling inside PL/pgSQL functions
Дата
Msg-id 1160693923.31966.162.camel@dogma.v10.wvs
обсуждение исходный текст
Ответ на Error handling inside PL/pgSQL functions  ("Germán Hüttemann Arza" <ghuttemann@gmail.com>)
Список pgsql-general
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


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Error handling inside PL/pgSQL functions
Следующее
От: Jonathan Vanasco
Дата:
Сообщение: Re: bad error message