How to track exceptions in PL/pgSQL

Поиск
Список
Период
Сортировка
От Florian Ledoux
Тема How to track exceptions in PL/pgSQL
Дата
Msg-id d4f1fdd90510120340l48a71d6dj@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to track exceptions in PL/pgSQL  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Hello,

I would like to track (timestamp and error number) in the database or
in text files the exceptions that occur in my PL/pgSQL functions.

1. How can I retrieve the SQLCODE in a 8.0.3 PG server ?
2. How can I trace the exception in a table although an implicit
rollback is done when a exception occurs (the trace will be rollbacked
too) ?

Thanx

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

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: License question[VASCL:A1077160A86]
Следующее
От: Ivan Pavlov
Дата:
Сообщение: Re: error in SELECT from store procedure