Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D7C05632783 for ; Sun, 12 Sep 2010 01:40:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 49526-01 for ; Sun, 12 Sep 2010 04:40:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 41CB76329C3 for ; Sun, 12 Sep 2010 01:40:37 -0300 (ADT) 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 o8C4eWrG029606; Sun, 12 Sep 2010 00:40:32 -0400 (EDT) To: Robert Haas cc: Fabien COELHO , PostgreSQL Bugs List Subject: Re: issue about information_schema REFERENTIAL_CONSTRAINTS In-reply-to: References: <2683.1283266019@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Sat, 11 Sep 2010 20:24:55 -0400" Date: Sun, 12 Sep 2010 00:40:32 -0400 Message-ID: <29605.1284266432@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/94 X-Sequence-Number: 28058 Robert Haas writes: > On Tue, Aug 31, 2010 at 10:46 AM, Tom Lane wrote: >> We are not going to try to enforce uniqueness.  This has been debated >> before, and most people like the current behavior just fine, or at least >> better than the alternatives. > Really? I thought the issue was that no one had figured out how to do > it, or that no one had written the patch, not that anyone thought the > current behavior was particularly desirable. What happens if you say > ALTER TABLE .. DROP CONSTRAINT or COMMENT ON CONSTRAINT? You just > pick one at random? No, because those syntaxes constrain the choice to one single constraint. Perhaps if the SQL committee had designed 'em, there'd be an issue; but they are Postgres-isms. regards, tom lane