Error parsing - Mailing list pgsql-general

From Erik Ronström
Subject Error parsing
Date
Msg-id 20030524010948.59799.qmail@web13806.mail.yahoo.com
Whole thread Raw
List 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 by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Query Output Formatting - Y/N Depending On Count
Next
From: "Ed L."
Date:
Subject: Building 7.3.2 on HP-UX w/out zlib/readline