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 1erVXL-00039M-QM for pgsql-general@arkaria.postgresql.org; Thu, 01 Mar 2018 21:14:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1erVXK-0005oX-LU for pgsql-general@arkaria.postgresql.org; Thu, 01 Mar 2018 21:14:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erVXK-0005oO-AR for pgsql-general@lists.postgresql.org; Thu, 01 Mar 2018 21:14:46 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erVXF-0004Ba-Sq for pgsql-general@lists.postgresql.org; Thu, 01 Mar 2018 21:14:45 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6CB1720D38; Thu, 1 Mar 2018 16:14:40 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 01 Mar 2018 16:14:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=hfnHKS9uJrr+0qRrtgAZbczLJ7EU2 Nxbo9XQBnVZFQI=; b=CMoUXJWdtniosC3qVUzGlfEuScjSf41CbomA5iAiqnzO+ msSFUeI7ZzSLzQEFXg5dbKYYOK61XTZpiy//VAnp56fwSCAml+dWRRO0Bg1HkaHI irOwsx3WIoC9qWVXiS5n2IF4/Uu9xC3SVetRo6eUT89oU1nOIhtCIFnKxxHkIj2R wR6fu8S9PErXWiTa86a6VHQsEd2b0ZWvzgrbYF8yAwUEM14uHxNVug62HFWHafU8 /NqFpJy0q6nZHiaOCa7C2SKqE3vLuyyMj2trgtEg5oGVxFMgn+2IC6SzxawhJ4iQ 3wYC2n0kcRoR/BemYefjwoyCv284S8vetEOokR2DA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=hfnHKS 9uJrr+0qRrtgAZbczLJ7EU2Nxbo9XQBnVZFQI=; b=J674GMQC+7LTwHDFrq8ldv r0ZJPW7uHVhN0iIsgcsZ89KAlqLwNpkhgavAY8vg7ZmHkuQ+kPcx37zlygAezUqL cOdPIS5x1aKFZ0VKaWD6BIvfUp7ecUwAMBL2Nh3AguhUhXKiMWV4Pr7PWd9NRKw1 9Knr5eRyWBaD/bImNNgBkCv7O8DczKRV1zceqP/V27u7lkgvRCH4DDVNv/TKaCiz JS3RFePw/BZjL0ueVVv6CHqK8jrDNGiDjoM6yuXurodb9LEMqNLRinRtKKCaZumI WPnMEsCadBezgUfjwIHiKMURgwHBReLOyXQSqE+jXtvKnfHqeuCfJdvJkU8pJelQ == X-ME-Sender: Received: from [192.168.1.2] (71-35-123-124.tukw.qwest.net [71.35.123.124]) by mail.messagingengine.com (Postfix) with ESMTPA id C4DDA7E46B; Thu, 1 Mar 2018 16:14:39 -0500 (EST) Subject: Re: Enforce primary key on every table during dev? To: Ron Johnson , pgsql-general@lists.postgresql.org References: <161e1761560-58a6-18e4b@webjas-vad211.srv.aolmail.net> <5a1870db-7018-fe15-ac60-ffe37abb7077@cox.net> <5da96fe6-666b-1107-ee76-b464417bd1b7@cox.net> <80d9a83d-fbf4-e4fa-9ccf-9272a074c50d@cox.net> <87230ccb-5b8e-e4ee-d6d5-63a9cbac5793@cox.net> From: Adrian Klaver Message-ID: Date: Thu, 1 Mar 2018 13:14:38 -0800 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: <87230ccb-5b8e-e4ee-d6d5-63a9cbac5793@cox.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 03/01/2018 01:03 PM, Ron Johnson wrote: > On 03/01/2018 02:32 PM, David G. Johnston wrote: > There's always the "account number", which is usually synthetic. Credit > Card numbers are also synthetic. Actually, no: https://en.wikipedia.org/wiki/Payment_card_number There is a method to the madness, not just random issuance of numbers. It was made it relatively easy for folks to generate numbers. Hence the addition of CSC codes. ICD numbers are (relatively) > synthetic, too. > > But that doesn't mean we have to use them willy-nilly everywhere. > > > -- > Angular momentum makes the world go 'round. -- Adrian Klaver adrian.klaver@aklaver.com