Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
>> In that case there's a datatype mismatch between the referencing and
>> referenced columns, which prevents the index from being used for the
>> FK check.
> Is creating such a foreign key a WARNING yet?
I believe so as of 8.0. It's a bit tricky since 8.0 does allow some
cross-type cases to be indexed, but IIRC we have a test that understands
regards, tom lane
In response to
pgsql-performance by date
|Next:||From: Simon Riggs||Date: 2005-03-25 10:18:37|
|Subject: Re: BUG #1552: massive performance hit between 7.4 and 8.0.1|
|Previous:||From: Tom Lane||Date: 2005-03-25 06:15:17|
|Subject: Re: Delete query takes exorbitant amount of time |