Re: FK triggers misused? - Mailing list pgsql-performance

From Tom Lane
Subject Re: FK triggers misused?
Date
Msg-id 12251.1176767706@sss.pgh.pa.us
Whole thread Raw
In response to Re: FK triggers misused?  (cluster <skrald@amossen.dk>)
Responses Re: FK triggers misused?  (cluster <skrald@amossen.dk>)
List pgsql-performance
Idly thumbing through the code, I came across something that might
possibly explain your results.  Do the rows being updated contain
NULLs in the foreign-key columns?  I see that ri_KeysEqual() treats
two null values as not equal, which might be overzealous respect for
SQL null semantics in this context.

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: FK triggers misused?
Next
From: Greg Smith
Date:
Subject: Re: Basic Q on superfluous primary keys