Access Error Details from PL/pgSQL

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: PostgreSQL-development Hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Access Error Details from PL/pgSQL
Date: 2012-02-13 17:27:16
Message-ID: 09F1883E-FAA3-4DA8-B4A8-B9C307AD0297@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

In PL/pgSQL exception handling, I'm able to access the error code (SQLSTATE) and error message (SQLERRM). Is there any way to get at error details (yet)? If not, could SQLDETAIL or some such be added?

Thanks,

David

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2012-02-13 17:30:31 Re: Access Error Details from PL/pgSQL
Previous Message Fujii Masao 2012-02-13 17:13:32 Re: Scaling XLog insertion (was Re: Moving more work outside WALInsertLock)