Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 4506297D956 for ; Fri, 18 Nov 2011 12:42:55 -0400 (AST) Received: from wwwmaster.postgresql.org ([217.196.146.204]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RRRWb-0003hC-Ah for pgsql-bugs@postgresql.org; Fri, 18 Nov 2011 16:42:54 +0000 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id pAIGgaIS007886 for ; Fri, 18 Nov 2011 16:42:36 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id pAIGgaLY007885; Fri, 18 Nov 2011 16:42:36 GMT (envelope-from www) Date: Fri, 18 Nov 2011 16:42:36 GMT Message-Id: <201111181642.pAIGgaLY007885@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6300: duplicate key value violates unique constraint From: "Tigran Mkrtchyan" Content-Type: text/plain; charset=utf-8 X-Archive-Number: 201111/133 X-Sequence-Number: 31728 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.