Re: Get the exeption error description

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Get the exeption error description
Дата
Msg-id AFCCBB403D7E7A4581E48F20AF3E5DB202E4C79F@EXADV1.host.magwien.gv.at
обсуждение исходный текст
Ответ на OIDs - file objects, are damaged by PostgreSQL.  ("Purusothaman A" <purusothaman.a@gmail.com>)
Список pgsql-general
> Is there a way to know the error description / message in a
> BEGIN END block in a plpgsql functioin as in the 'Appendix A.
> PostgreSQL Error Codes' ?

The variable SQLERRM as described in

http://www.postgresql.org/docs/current/static/plpgsql-control-structures
.html#PLPGSQL-ERROR-TRAPPING

Yours,
Laurenz Albe

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

Предыдущее
От: "Jasbinder Singh Bali"
Дата:
Сообщение: why postgresql over other RDBMS
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: OIDs - file objects, are damaged by PostgreSQL.