Re: Fix optimization of foreign-key on update actions - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Fix optimization of foreign-key on update actions
Date
Msg-id 878syu5j4i.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Fix optimization of foreign-key on update actions  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses 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  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-hackers
>>>>> "Peter" == Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:

 Peter> The SQL standard seems clear

ha

hahaha

HAHAHAHAHAHA

(since when has the SQL standard ever been clear?)

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.

-- 
Andrew (irc:RhodiumToad)


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Fix optimization of foreign-key on update actions
Next
From: Tom Lane
Date:
Subject: Re: Fix optimization of foreign-key on update actions