Re: Catching DETAIL and HINT

From: "Michael Stanton W(dot)" <mike(dot)stanton(at)autocastillo(dot)cl>
To: "'David Johnston'" <polobo(at)yahoo(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Catching DETAIL and HINT
Date: 2012-06-27 20:09:06
Message-ID: 029401cd54a0$b53eba60$1fbc2f20$@autocastillo.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We want to create a function using plpgsql

De: David Johnston [mailto:polobo(at)yahoo(dot)com]
Enviado el: Miércoles, 27 de Junio de 2012 16:54
Para: 'Michael Stanton W.'; pgsql-general(at)postgresql(dot)org
CC: desarrollo(dot)mecanica(at)autocastillo(dot)cl
Asunto: RE: [GENERAL] Catching DETAIL and HINT

What API/Language are you using?

Dave

From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Michael Stanton W.
Sent: Wednesday, June 27, 2012 1:41 PM
To: pgsql-general(at)postgresql(dot)org
Cc: desarrollo(dot)mecanica(at)autocastillo(dot)cl
Subject: [GENERAL] Catching DETAIL and HINT

Hello all;

Does anybdy know how to catch the DETAIL and HINT sections
of the Error Messages?.

We want to “translate”, for example, Foreign Key Constraint
Violation messages into something that a User could understand, using
metadata and such like.

We’re using versión 9.1.3

Cheers

Mike Stanton W.

Santiago Chile

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-06-28 01:06:43 Re: Catching DETAIL and HINT
Previous Message David Johnston 2012-06-27 19:53:39 Re: Catching DETAIL and HINT