pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Bertheau ☭ <twanger@bluetwanger.de>
To: KÖPFERL Robert <robert.koepferl@sonorys.at>
Cc: 'PostgreSQL' <pgsql-sql@postgresql.org>
Subject: Re: getting details about integrity constraint violation
Date: Fri, 03 Jun 2005 11:00:28 +0200
Message-ID: <1117789228.9816.2.camel@dicaprio.akademie1.de> (raw)
In-Reply-To: <ED4E30DD9C43D5118DFB00508BBBA76EB1673E@neptun.sonorys.at>
References: <ED4E30DD9C43D5118DFB00508BBBA76EB1673E@neptun.sonorys.at>

В Птн, 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@bluetwanger.de>




view thread (8+ messages)  latest in thread

Message-ID: <1117789228.9816.2.camel@dicaprio.akademie1.de>
Permalink:  ../1117789228.9816.2.camel@dicaprio.akademie1.de/
Also on:    postgresql.org/message-id/1117789228.9816.2.camel@dicaprio.akademie1.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: twanger@bluetwanger.de, robert.koepferl@sonorys.at
  Subject: Re: getting details about integrity constraint violation
  In-Reply-To: <1117789228.9816.2.camel@dicaprio.akademie1.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox