Re: Getting exception information (SQLERRM, SQLSTATE, etc.)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Lance Arlaus" <lance(dot)nospam(dot)1(at)codeberet(dot)com>
Cc: "PostgreSQL Novice Mailing List" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Getting exception information (SQLERRM, SQLSTATE, etc.)
Date: 2005-08-10 02:38:31
Message-ID: 21550.1123641511@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Lance Arlaus" <lance(dot)nospam(dot)1(at)codeberet(dot)com> writes:
> Is there a way to get information on an exception inside an exception block?

Not in 8.0. We have integrated SQLSTATE and SQLERRM for 8.1.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2005-08-10 02:52:03 Re: loading data for newb
Previous Message James Nobles 2005-08-09 23:58:52 loading data for newb