Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "gparc(at)free(dot)fr" <gparc(at)free(dot)fr>
Cc: pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key
Date: 2024-01-24 14:40:54
Message-ID: CAKFQuwb2u48ZxPHzJi+qR-ADcUUO3vSnU+FJcuN9VVFGe-Ay2Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wednesday, January 24, 2024, <gparc(at)free(dot)fr> wrote:
>
> any comment ?
>

It isn’t a bug at this point; not something we’d change on model purity
grounds. The user is capable and encouraged to ensure a constraint exists
though. There may be a doc update warranted here but that needs to be
looked into by a motivated and available individual.

David J.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2024-01-24 15:24:38 Re: BUG #18309: TOASTed entry in pg_subscription provokes an assertion failure
Previous Message David G. Johnston 2024-01-24 14:26:50 Re: BUG #18307: system columns does not support using join