Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNPdy-0006Mg-OW for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Sep 2020 00:06:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kNPdx-00044M-N3 for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Sep 2020 00:06:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNPdx-00044F-HB for pgsql-bugs@lists.postgresql.org; Wed, 30 Sep 2020 00:06:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNPdv-0004OK-Hc for pgsql-bugs@postgresql.org; Wed, 30 Sep 2020 00:06:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 08U06j9L796570; Tue, 29 Sep 2020 20:06:45 -0400 From: Tom Lane To: Alvaro Herrera cc: David Rowley , Nagaraj Raj , Pg Bugs Subject: Re: ERROR: insufficient columns in the PRIMARY KEY constraint definition In-reply-to: <20200929232225.GA16296@alvherre.pgsql> References: <20200929232225.GA16296@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Tue, 29 Sep 2020 20:22:25 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <796568.1601424405.1@sss.pgh.pa.us> Date: Tue, 29 Sep 2020 20:06:45 -0400 Message-ID: <796569.1601424405@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > Here's the proposed error message fix, using the wording that saves > $1.99. I agree that trying to cram the constraint type in the primary > message is uglier. WFM. regards, tom lane