Skip site navigation (1) Skip section navigation (2)

Re: FK triggers misused?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cluster <skrald(at)amossen(dot)dk>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: FK triggers misused?
Date: 2007-04-16 23:55:06
Message-ID: 12251.1176767706@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-performance by date

Next:From: Greg SmithDate: 2007-04-17 03:02:48
Subject: Re: Basic Q on superfluous primary keys
Previous:From: Tom LaneDate: 2007-04-16 23:49:56
Subject: Re: FK triggers misused?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group