Error parsing

Поиск
Список
Период
Сортировка
От Erik Ronström
Тема Error parsing
Дата
Msg-id 20030524010948.59799.qmail@web13806.mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
Hello,

Is there any way to get information about the last error/exception? My
perl application needs to know if a delete failure (for example) is due
to a data integrity violation or something else.

There is always the error message of course, but it seems tricky,
unsafe and ineffective to parse the error string. Is there a better
way?

Erik

__________________________________________________
It's Samaritans' Week. Help Samaritans help others.
Call 08709 000032 to give or donate online now at http://www.samaritans.org/support/donations.shtm

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Query Output Formatting - Y/N Depending On Count
Следующее
От: "Ed L."
Дата:
Сообщение: Building 7.3.2 on HP-UX w/out zlib/readline