Re: [GENERAL] Foreign key verification trigger conditions

2009-06-01 Thread j-lists
Hi Tom, Thank you for pointing out the condition under which this occurs, I had not made the connection that the check was only occurring when the value in the other columns with foreign keys are null. I agree 100% that a strict key equality check that is in general use in the database should not r

Re: [GENERAL] Foreign key verification trigger conditions

2009-06-01 Thread Tom Lane
j-lists writes: > I have an update statement that affects every row in a given table. > For that table it changes the value in a single column, which itself > has a foreign key constraint. The table has an additional 9 foreign > keys, some of which reference large tables. > My expectation would be

[GENERAL] Foreign key verification trigger conditions

2009-05-31 Thread j-lists
I have an update statement that affects every row in a given table. For that table it changes the value in a single column, which itself has a foreign key constraint. The table has an additional 9 foreign keys, some of which reference large tables. My expectation would be that only the changed colu