Re: Whither 1:1?

From: James Keener <jim(at)jimkeener(dot)com>
To: Guyren Howe <guyren(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Whither 1:1?
Date: 2018-06-01 17:00:04
Message-ID: CAG8g3tz72AMtmHrzB9CuN0gpr_oH2nKRg=0-GC3QOdJC+C_tAA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I don't think I fully understand. Do you mean all pk using a single
sequence? I'm not sure how this would avoid nulls or grouping fields.

Jim

On Fri, Jun 1, 2018 at 12:52 PM, Guyren Howe <guyren(at)gmail(dot)com> wrote:

> 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?
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2018-06-01 17:00:21 Re: Whither 1:1?
Previous Message David G. Johnston 2018-06-01 16:59:55 Re: Whither 1:1?