From: Guyren Howe <guyren@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Whither 1:1?
Date: Fri, 1 Jun 2018 09:52:50 -0700
Message-ID: <EB970076-1B97-43F4-9E5A-A73C6DFFB161@gmail.com> (raw)
It’s come to my attention that what seems an obvious and useful database design pattern — 1:1 relations between tables by having a shared primary key — 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’t see?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: guyren@gmail.com
Subject: Re: Whither 1:1?
In-Reply-To: <EB970076-1B97-43F4-9E5A-A73C6DFFB161@gmail.com>
References: <EB970076-1B97-43F4-9E5A-A73C6DFFB161@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox