Re: Fix optimization of foreign-key on update actions

Поиск
Список
Период
Сортировка
Искать
От
Laurenz Albe
Тема
Re: Fix optimization of foreign-key on update actions
Дата
Msg-id
f00b53febc524ce74a2365f2f11d25603e761c84.camel@cybertec.at
Ответ на
Список
Дерево обсуждения
Fix optimization of foreign-key on update actions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Fix optimization of foreign-key on update actions Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Fix optimization of foreign-key on update actions Tom Lane <tgl@sss.pgh.pa.us>
Re: Fix optimization of foreign-key on update actions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Fix optimization of foreign-key on update actions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Fix optimization of foreign-key on update actions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Fix optimization of foreign-key on update actions Laurenz Albe <laurenz.albe@cybertec.at>
Re: Fix optimization of foreign-key on update actions Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Fix optimization of foreign-key on update actions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Andrew Gierth wrote:
> SQL2016, 15.17 Execution of referential actions
> 
> 10) If a non-null value of a referenced column RC in the referenced
>     table is updated to a value that is distinct from the current value
>     of RC, then,
> 
>       [snip all the stuff about how ON UPDATE actions work]
> 
> does that "is distinct from" mean that IS DISTINCT FROM would be true,
> or does it mean "is in some way distinguishable from"? Nothing I can see
> in the spec suggests the latter.

My 2003 standard defines, and even condescends to be informal:

3.1.6.8 distinct (of a pair of comparable values): Capable of being distinguished within a given context.
Informally, not equal, not both null. A null value and a non-null value are distinct.

Yours,
Laurenz Albe


В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: Andres Freund
Дата:
FAQ