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 1lUArX-0007zX-A6 for pgsql-general@arkaria.postgresql.org; Wed, 07 Apr 2021 16:17:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lUArW-0006e4-7g for pgsql-general@arkaria.postgresql.org; Wed, 07 Apr 2021 16:17:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUArV-0006ds-Sr for pgsql-general@lists.postgresql.org; Wed, 07 Apr 2021 16:17:02 +0000 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lUArQ-0003QU-Q3 for pgsql-general@lists.postgresql.org; Wed, 07 Apr 2021 16:17:01 +0000 Received: by mail-ot1-x334.google.com with SMTP id t23-20020a0568301e37b02901b65ab30024so18608805otr.4 for ; Wed, 07 Apr 2021 09:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=IS0lRyGv3oZCXoPBCHI0ISv9rm5QNaTyfM5Y+QFma/Y=; b=bvJFwyTtCSiauUMpxbnOXiPe5GLnvEsXJURe9pA0+UKiz01p8GadYIQEf0PSHgCXTt aWMY660HqckcxhoGxL1rPuK8rTcZq+YqXB+VCV8oJnGRJYZFKhP5mKQAM0VRAiJ+GHDz 0avOecxif744ez2C47rA5w8NN/ruj3asSzOL97VSJyzKS8QDWm6awP2L8fyiX32I81Op 50jUjoTryLizGVxWZoZvBRE7Ay/Lx0xw6bfM2hfIvnVG0d0PCRfpE6pmadQV4S0yqWnd hVY83CGIJH2QvdbHX5oEWBGvrAnRd/Lmi024gc5S7L9iJLhBE7mU8ZzI6kZkwG+hWpCa BcZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=IS0lRyGv3oZCXoPBCHI0ISv9rm5QNaTyfM5Y+QFma/Y=; b=DZfB9lUsJ2GOogh6620C3cOWTmCHs8Lo28eQzAOpUWNAkjHDG3aBNQ8S3zZ5TCY6OM PHLPtaETyHWSVP3A+hdI0v9+QT8cZ7p0Dr1DztUf4geNi4OdVSlzNYtExVbgrNofv3pq 84KSmgMoKe2cIRQO1UYcuuyhGn6d/CpFMlOqEBUQuv4pY3INkTupDJLLAfCFHc2fN8Ua 0KpMUROf9nqjuCys0mDNz4KVEU6egKNrQczIGp46ufWC69LMuQgL3CiJ8z5vRaoDmx3C B5oPvW2dHXHoqy5TtzAxsQRhhmCPlnzLcl2wHnMG0s8FigoOgMWrb7Zsa06YJJ2Tkoar 2akg== X-Gm-Message-State: AOAM530OVX4XycWfmpytXSWOiQv+r4DLvlJ8fnHq/y19aegJ7AJqnvva qC86ghLgqO3Jwa8O0/BdYFm+8Jpzts0= X-Google-Smtp-Source: ABdhPJznvmO9fLGPJhb6EOTIdBBERfw0SKQAs2F9Fxqd+jNSAcYbIVE8uYL4vvnyxjqcNk+yvU9uhQ== X-Received: by 2002:a05:6830:1590:: with SMTP id i16mr3765391otr.12.1617812214254; Wed, 07 Apr 2021 09:16:54 -0700 (PDT) Received: from [192.168.88.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id x3sm4449301oif.22.2021.04.07.09.16.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Apr 2021 09:16:53 -0700 (PDT) Subject: Re: Primary keys and composite unique keys(basic question) To: pgsql-general@lists.postgresql.org References: <69a5b7b83689ab456dd4b3cd7eb08e9573652039.camel@cybertec.at> <8ECC2031-7B0F-4765-B8B2-5B8047B06DA3@gmail.com> From: Ron Message-ID: <3fcf7329-378d-6982-89d9-a3f28ada0d47@gmail.com> Date: Wed, 7 Apr 2021 11:16:48 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <8ECC2031-7B0F-4765-B8B2-5B8047B06DA3@gmail.com> Content-Type: multipart/alternative; boundary="------------7C7012BCB4D9BD874FF3DBAA" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------7C7012BCB4D9BD874FF3DBAA Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 4/5/21 9:37 PM, Rob Sargent wrote: >> It's a small thing, but UUIDs are absolutely not memorizable by >> humans; they have zero semantic value.  Sequential numeric identifiers >> are generally easier to transpose and the value gives some clues to >> its age (of course, in security contexts this can be a downside). >> > I take the above as a definite plus.  Spent too much of my life correcting > others’ use of “remembered” id’s that just happened to perfectly match the > wrong thing. People seem to have stopped appending check digits to identifiers about 20 years ago, and I'm not sure why. -- Angular momentum makes the world go 'round. --------------7C7012BCB4D9BD874FF3DBAA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 4/5/21 9:37 PM, Rob Sargent wrote:
It's a small thing, but UUIDs are absolutely not memorizable by
humans; they have zero semantic value.  Sequential numeric identifiers
are generally easier to transpose and the value gives some clues to
its age (of course, in security contexts this can be a downside).

I take the above as a definite plus.  Spent too much of my life correcting others’ use of “remembered” id’s that just happened to perfectly match the wrong thing.

People seem to have stopped appending check digits to identifiers about 20 years ago, and I'm not sure why.

--
Angular momentum makes the world go 'round.
--------------7C7012BCB4D9BD874FF3DBAA--