Re: adding support for zero-attribute unique/etc keys

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: adding support for zero-attribute unique/etc keys
Дата
Msg-id 11040.1364218060@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: adding support for zero-attribute unique/etc keys  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-hackers
Albe Laurenz <laurenz.albe@wien.gv.at> writes:
> Darren Duncan wrote:
>> I propose that this be generalized so that constraints may instead be nullary,
>> that is, range over zero or more attributes/columns instead.

> Since an imagined zero-column query would have an empty set of
> result columns, you could with equal force argue that these columns
> satisfy the condition or not, because the members of the empty
> set have all the properties you desire.

The semantics of a zero-column foreign key seem even less well
defined.
        regards, tom lane



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Enabling Checksums
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)