Re: 9.6 Feature help requested: Inclusion Constraints

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: 9.6 Feature help requested: Inclusion Constraints
Дата
Msg-id CA+TgmoZKz0a1KoiD1rQRB0xpXja6rLzpeEV85GNu3ra0UCtppg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 9.6 Feature help requested: Inclusion Constraints  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Tue, Feb 10, 2015 at 9:47 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On 2/9/15 3:12 AM, Jeff Davis wrote:
>> On Sat, 2015-02-07 at 16:08 -0800, Jeff Davis wrote:
>>> I believe Inclusion Constraints will be important for postgres.
>>
>> I forgot to credit Darren Duncan with the name of this feature:
>>
>> http://www.postgresql.org/message-id/4F8BB9B0.5090708@darrenduncan.net
>
> I think it would be confusing to name something inclusion constraint
> that is not somehow the opposite of an exclusion constraint.

It sorta is.  UNIQUE is to exclusion constrant as FOREIGN KEY is to
inclusion constraint.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: reducing our reliance on MD5
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: reducing our reliance on MD5