"Stephan Szabo" <sszabo(at)megazone(dot)bigpanda(dot)com> writes
>
> Well, that's not the foreign key necessarily. I don't have a machine to
> test on at the moment (machine currently dead), but I think the same
> happens without a foreign key constraint due to the unique/primary key
> constraint on a.i.
I see. That's more reasonable - the executor will first wait to see if the
constraint on itself satifies, then do the RI check.
Thanks,
Qingqing