Text Description of Current Exception - Mailing list pgsql-admin

From Ward Eaton
Subject Text Description of Current Exception
Date
Msg-id 04A6DB42D2BA534FAC77B90562A6A03DD629A9@server.rad-con.local
Whole thread Raw
Responses Re: Text Description of Current Exception  (Justin <justin@emproshunts.com>)
List 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
E-mail: Ward.Eaton@RAD-CON.com

 

Attachment

pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: postgresql 8.4
Next
From: Tony Liao
Date:
Subject: how to do prefix_range default value?