pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
To: pgsql-bugs@postgresql.org
Subject: BUG #6300: duplicate key value violates unique constraint
Date: Fri, 18 Nov 2011 16:42:36 GMT
Message-ID: <201111181642.pAIGgaLY007885@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      6300
Logged by:          Tigran Mkrtchyan
Email address:      tigran.mkrtchyan@desy.de
PostgreSQL version: 9.0.4
Operating system:   Linux x86_64
Description:        duplicate key value violates unique constraint
Details: 

Hi,

our application uses PostgreSQL as a backend and heavily
relays on transactions. We never check constrains in our application as DB
does is better than we can an in an atomic way. This works very-very good!
Nevertheless the logfiles are full of 'duplicate key value violates unique
constraint'. I have two questions:

1. why it logged with ERROR level as it clients application behavior.

2. is there a way to suppress it or could you add a way to suppress it.


Thanks a lot,
   Tigran.



view thread (14+ messages)  latest in thread

Message-ID: <201111181642.pAIGgaLY007885@wwwmaster.postgresql.org>
Permalink:  ../201111181642.pAIGgaLY007885@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201111181642.pAIGgaLY007885@wwwmaster.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tigran.mkrtchyan@desy.de
  Subject: Re: BUG #6300: duplicate key value violates unique constraint
  In-Reply-To: <201111181642.pAIGgaLY007885@wwwmaster.postgresql.org>
  References: <201111181642.pAIGgaLY007885@wwwmaster.postgresql.org>

* 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