Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fOnIV-0004SJ-63 for pgsql-general@arkaria.postgresql.org; Fri, 01 Jun 2018 16:53:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fOnIT-0007Ta-N4 for pgsql-general@arkaria.postgresql.org; Fri, 01 Jun 2018 16:53:01 +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 1fOnIT-0007TQ-D8 for pgsql-general@lists.postgresql.org; Fri, 01 Jun 2018 16:53:01 +0000 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fOnIP-0002nX-Ri for pgsql-general@lists.postgresql.org; Fri, 01 Jun 2018 16:53:00 +0000 Received: by mail-pf0-x236.google.com with SMTP id j20-v6so12772695pff.10 for ; Fri, 01 Jun 2018 09:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:to:message-id; bh=kotjuOXSN5+sdxfIz3bHIoph2u2vnP+v0aQHgOuC/so=; b=hjGLdoZUsEajIVIkMboIKteaj9q75l7kAiSXTMm+ij1fnBl9UDNz0/tY6jprr74+mf //FWZkHh5dbyv8TJFlSrNixDWLvlftk2/zmg3WDxkV41g9Ty9QD0DOeSUA3BORP3+aVr kCRVhR7Zsq0QBaxILQ6MFINavpqbNvFBCstvUI0QPfhqFMa4HGpvYhIo/CVKhzl36nY7 oKytOW9aSGH70lDyaQwZ+/QNQ71colKf2mth0tc+cOVw+mgUYrgEQR0VqGPg2R/aiM02 PbfQW6USyGKB/V/FOaDGInMGJVciq7xGGVU7ielaP7KbWKtb6qrzAiRdpz1PxpVaiL79 OLiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:to:message-id; bh=kotjuOXSN5+sdxfIz3bHIoph2u2vnP+v0aQHgOuC/so=; b=Bh77e2neGDAxTH/MoJu+Om3FiPV9DW5xb7egcD5GXpq0WQKU2+uYnZ/82GB0b273l3 o2kOw6fwLLqqZ1C+CmSHYUQo+HzWrdke6rMw5AqgRUFNTEOWPhECd0+jMbvAdsyQLAhW lrURNhSWw3vaVGXmokMR4CHHJTyGtRu+HzNKe9Hf6ddA4ANs32Ls/Yk7kJwGHhyfLnj2 uu7J3BEU32/EWvlIcD7EyBETTQTkxwQQJ2P2KpY2Jj7Laqj83k+SrPR6kEio623izOMD zGYsrHK8xULtolChFNzTMKPhLMV/SP1eRigS8XlP1O2kd2RvWH43a716h/jqZYIJbnVA RTXw== X-Gm-Message-State: ALKqPwcNczfLM/3X6YRqOo5sb3qIPz0ZA6Xk9jOilCPCp81Ch8BQXoxd zmewKT+6FL72qvy7g8y9/msTGoWa X-Google-Smtp-Source: ADUXVKJBZJ3jLRRLv8tXc3jWCcsGnN3tXbjbD/JhucbFVrnONnmkMGgeWJqy4gskRGRjE41b2SMUtg== X-Received: by 2002:a62:5b02:: with SMTP id p2-v6mr11532902pfb.96.1527871975364; Fri, 01 Jun 2018 09:52:55 -0700 (PDT) Received: from ?IPv6:2600:8801:8800:1a::b? ([2600:8801:8800:1a::b]) by smtp.gmail.com with ESMTPSA id q68-v6sm71154233pfb.182.2018.06.01.09.52.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jun 2018 09:52:54 -0700 (PDT) From: Guyren Howe X-Mailbutler-Tracking-Uuid: A97F39C2-5A8F-4D1D-BF00-F483696E70EB Content-Type: multipart/alternative; boundary="Apple-Mail=_569751C4-F42D-4699-9C77-510330C33847" Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Whither 1:1? Date: Fri, 1 Jun 2018 09:52:50 -0700 X-Mailbutler-Link-Tracking-Uuid: To: pgsql-general@lists.postgresql.org Message-Id: X-Mailer: Apple Mail (2.3445.6.18) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_569751C4-F42D-4699-9C77-510330C33847 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 It=E2=80=99s come to my attention that what seems an obvious and useful = database design pattern =E2=80=94 1:1 relations between tables by having = a shared primary key =E2=80=94 is hardly discussed or used. It would seem to be a very simple pattern, and useful to avoid storing = nulls or for groups of fields that tend to be used together. Thoughts? Is there some downside I can=E2=80=99t see? --Apple-Mail=_569751C4-F42D-4699-9C77-510330C33847 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 It=E2=80=99s come to my attention that what seems an obvious = and useful database design pattern =E2=80=94 1:1 relations between = tables by having a shared primary key =E2=80=94 is hardly discussed or = used.

It would seem = to be a very simple pattern, and useful to avoid storing nulls or for = groups of fields that tend to be used together.

Thoughts? Is there some downside I = can=E2=80=99t see?
3D""= --Apple-Mail=_569751C4-F42D-4699-9C77-510330C33847--