Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id C83622EBA7B for ; Thu, 24 Nov 2011 12:55:39 -0400 (AST) Received: from host-215.commandprompt.net ([207.173.203.215] helo=lists.commandprompt.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RTcaH-00011j-BM for pgsql-bugs@postgresql.org; Thu, 24 Nov 2011 16:55:38 +0000 Received: from perhan.alvh.no-ip.org (spinlock.commandprompt.com.commandprompt.com [207.173.203.215]) by lists.commandprompt.com (Postfix) with ESMTPA id 5C92434C3A4; Thu, 24 Nov 2011 08:55:22 -0800 (PST) Received: from perhan.alvh.no-ip.org ([190.95.4.242] helo=perhan.alvh.no-ip.org) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 24 Nov 2011 08:55:19 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id AA2F46E471; Thu, 24 Nov 2011 13:55:17 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Peter Geoghegan , Tomas Vondra , tigran.mkrtchyan , Pg Bugs Subject: Re: BUG #6300: duplicate key value violates unique constraint From: Alvaro Herrera To: Robert Haas In-reply-to: References: <201111181642.pAIGgaLY007885@wwwmaster.postgresql.org> <2e0d250ae01ece58a2c387f52f3121fc.squirrel@sq.gransy.com> Date: Thu, 24 Nov 2011 13:55:17 -0300 Message-Id: <1322153640-sup-9631@alvh.no-ip.org> User-Agent: Sup/git X-Assp-Version: 2.1.1(11278) on assp.commandprompt.com X-Assp-Client-TLS: yes X-Assp-ID: assp.commandprompt.com m1-53722-04463 X-Assp-Envelope-From: alvherre@alvh.no-ip.org X-Assp-Intended-For: peter@2ndquadrant.com X-Assp-Original-Subject: Re: [BUGS] BUG #6300: duplicate key value violates unique constraint Content-Transfer-Encoding: quoted-printable X-Archive-Number: 201111/169 X-Sequence-Number: 31764 Excerpts from Robert Haas's message of jue nov 24 13:14:38 -0300 2011: > What I think we want to distinguish between is things that are > PEBKAC/GIGO, and everything else. In other words, if a particular > error message can be caused by typing something stupid, unexpected, > erroneous, or whatever into psql, it's just an error. But if no > input, however misguided, should ever cause that symptom, then it's, I > don't know what the terminology should be, say, a "severe error". +1 --=20 =C3=81lvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support