Re: getting details about integrity constraint violation

From: Markus Bertheau ☭ <twanger(at)bluetwanger(dot)de>
To: KÖPFERL Robert <robert(dot)koepferl(at)sonorys(dot)at>
Cc: "'PostgreSQL'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: getting details about integrity constraint violation
Date: 2005-06-03 09:00:28
Message-ID: 1117789228.9816.2.camel@dicaprio.akademie1.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

В Птн, 03/06/2005 в 10:00 +0200, KÖPFERL Robert пишет:
> |
> |You can't, at the moment, except by parsing the text message.
> |
> |The "error fields" facility in the FE/BE protocol could be extended
> |in that direction, and I think there's already been some discussion
> |about it; but no one has stepped up with a concrete proposal, much
> |less volunteered to do the work ...
> |
> | regards, tom lane
>
>
> So there must be at least a bunnch of error codes (which could be printed in
> addition)?

There are, but they only say something along the lines of "unique
constraint violated", they don't say which one.

Markus

--
Markus Bertheau ☭ <twanger(at)bluetwanger(dot)de>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Markus Bertheau ☭ 2005-06-03 10:07:41 'true'::TEXT::BOOLEAN
Previous Message KÖPFERL Robert 2005-06-03 08:00:13 Re: getting details about integrity constraint violation