Text Description of Current Exception

From: "Ward Eaton" <Ward(dot)Eaton(at)rad-con(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Text Description of Current Exception
Date: 2009-04-02 21:07:58
Message-ID: 04A6DB42D2BA534FAC77B90562A6A03DD629A9@server.rad-con.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

I would like to log any exceptions which may be thrown in my database
functions. Oracle has a predefined variable, SQLERRM, which will always
have a text description of the current exception. Is there anything
like this available in postgres?

Thank you,

Ward Eaton
Project Engineer Automation

RAD-CON Inc.
TECHNOLOGY: Innovative & Proven
Office: +1.216.706.8927
Fax: +1.216.221.1135
Website: www.RAD-CON.com <http://www.rad-con.com/>
E-mail: Ward(dot)Eaton(at)RAD-CON(dot)com <mailto:Ward(dot)Eaton(at)RAD-CON(dot)com>

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tony Liao 2009-04-03 03:03:37 how to do prefix_range default value?
Previous Message Scott Marlowe 2009-04-02 20:18:19 Re: postgresql 8.4