Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erS42-0001ih-Dc for pgsql-general@arkaria.postgresql.org; Thu, 01 Mar 2018 17:32:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1erS41-0004nZ-2V for pgsql-general@arkaria.postgresql.org; Thu, 01 Mar 2018 17:32:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erS40-0004nQ-QR for pgsql-general@lists.postgresql.org; Thu, 01 Mar 2018 17:32:16 +0000 Received: from eastrmfepo201.cox.net ([68.230.241.216]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1erS3x-0006FY-P6 for pgsql-general@lists.postgresql.org; Thu, 01 Mar 2018 17:32:16 +0000 Received: from eastrmimpo209.cox.net ([68.230.241.224]) by eastrmfepo201.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20180301173210.CLQQ1466.eastrmfepo201.cox.net@eastrmimpo209.cox.net> for ; Thu, 1 Mar 2018 12:32:10 -0500 Received: from [192.168.1.10] ([70.171.109.83]) by eastrmimpo209.cox.net with cox id GhY91x0031o04Vy01hY98U; Thu, 01 Mar 2018 12:32:09 -0500 X-Authority-Analysis: v=2.2 cv=BoXt+cf5 c=1 sm=1 tr=0 a=uCHdjGDeLqaieW9t8IbZ6A==:117 a=uCHdjGDeLqaieW9t8IbZ6A==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=T11QR6bd6vIA:10 a=pgPh7gf4wbTofDK_KIcA:9 a=QEXdDO2ut3YA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (PLAIN) smtp.auth=ron.l.johnson@cox.net Subject: Re: Enforce primary key on every table during dev? To: pgsql-general@lists.postgresql.org References: <87vaegq0v4.fsf@gmail.com> <84f6f201-8d70-b5a2-503a-62e0a452cc95@cox.net> <20180301102258.485d09aa@wrkhors.com> From: Ron Johnson Message-ID: Date: Thu, 1 Mar 2018 11:32:08 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 03/01/2018 11:07 AM, Steve Atkins wrote: [snip] > "Every table should have a primary key, whether natural or surrogate" > is a great guideline, and everyone should follow it until they understand > when they shouldn't. Most people think they know, but they don't. -- Angular momentum makes the world go 'round.