Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key - Mailing list pgsql-bugs

From David Rowley
Subject Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key
Date
Msg-id CAApHDvp=fOi3D+VNKsxZgKPw6NcfCdKfS=ZzHNnvQ8DOGg55cg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key
List pgsql-bugs
On Mon, 29 Jan 2024 at 21:59, Laurenz Albe <laurenz.albe@cybertec.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



pgsql-bugs by date:

Previous
From: Casey
Date:
Subject: Re: Misleading/inaccurate error message from pg_basebackup
Next
From: "David G. Johnston"
Date:
Subject: Re: v17 Possible Union All Bug