From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alex Hochberger <alex@dsgi.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: pl/pgsql and error handling
Date: Thu, 28 Feb 2008 23:43:05 -0500
Message-ID: <22011.1204260185@sss.pgh.pa.us> (raw)
In-Reply-To: <650E1D02-A244-44F4-81A4-5977F8D879E8@dsgi.us>
References: <650E1D02-A244-44F4-81A4-5977F8D879E8@dsgi.us>
Alex Hochberger <alex@dsgi.us> writes:
> Is it possible to grab access to the actually user-friendly error
> message?
Doesn't the SQLERRM variable do what you want?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, alex@dsgi.us
Subject: Re: pl/pgsql and error handling
In-Reply-To: <22011.1204260185@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox