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

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key
Дата
Msg-id 578afb7d3a88969b4d77f49280cd30247ee4b687.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-bugs
On Sat, 2024-01-27 at 02:19 +1300, David Rowley wrote:
> On Sat, 27 Jan 2024 at 01:14, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
>
> I'd only adjust the following addition to be a new paragraph:

Check.

> and drop the "also" at the same time.

Done.

> I also noticed that, generally, we're not that consistent if we spell
> it "foreign-key" or "foreign key".  You're introducing "foreign key"
> in a location where there are a couple of "foreign-key"s. Maybe it's
> better to be consistent in at least that location?

Yes, you are right.  I noticed that everywhere else on the page the
form "foreign key" is used, so that's what I did in the attached patch.

Yours,
Laurenz Albe

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: BUG #18295: In PostgreSQL a unique index on targeted columns is sufficient to support a foreign key
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #18313: No error triggered when subtracting an interval from a timestamp