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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group