Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 370D61E485A6 for ; Fri, 18 Nov 2011 19:38:51 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RRY1C-0001fe-Ei for pgsql-bugs@postgresql.org; Fri, 18 Nov 2011 23:38:51 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id pAINcAKp028271; Fri, 18 Nov 2011 18:38:11 -0500 (EST) To: "Tomas Vondra" cc: tigran.mkrtchyan@desy.de, pgsql-bugs@postgresql.org Subject: Re: BUG #6300: duplicate key value violates unique constraint In-reply-to: References: <201111181642.pAIGgaLY007885@wwwmaster.postgresql.org> <2e0d250ae01ece58a2c387f52f3121fc.squirrel@sq.gransy.com> Comments: In-reply-to "Tomas Vondra" message dated "Fri, 18 Nov 2011 21:52:33 +0100" Date: Fri, 18 Nov 2011 18:38:10 -0500 Message-ID: <28270.1321659490@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 201111/143 X-Sequence-Number: 31738 "Tomas Vondra" writes: > On 18 Listopad 2011, 20:38, Tigran Mkrtchyan wrote: >> I think it's a bug to log with level ERROR absolute valid SQL >> statement. But it's *not* valid ... it failed. > If you don't want to see those messages in the log, there are ways to do > that correctly - Has anybody suggested raising the log_min_messages setting? regards, tom lane