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

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: gparc(at)free(dot)fr, 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-29 21:18:37
Message-ID: CAApHDvp=fOi3D+VNKsxZgKPw6NcfCdKfS=ZzHNnvQ8DOGg55cg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, 29 Jan 2024 at 21:59, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> wrote:
> Hm. With your changes, the title reads "Foreign-Key Constraints", but
> the body uses "foreign key constraint". I think they should be consistent.
>
> I'd be happy with either variant, but since the hyphenated version
> isn't used anywhere else on the page, my opinion is that we should do
> away with it.

OK, I've gone back to doing away with it.

> Other than that, your patch looks good to me.

Thanks. Pushed.

David

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2024-01-29 21:31:36 Re: v17 Possible Union All Bug
Previous Message Casey 2024-01-29 21:14:05 Re: Misleading/inaccurate error message from pg_basebackup