"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> I am checking the indexStruct->indisprimary field, but it always resolves to
> false. indisunique works fine. It is a trivial change to the ADD UNIQUE
> code, but it doesn't work. Viewing the system catalogs and '\d' both show
> the indices as primary, but the SearchSysCache funtion believes that they
> are not.
Doesn't make any sense to me either. Want to post your code?
regards, tom lane