> To support parallel insert into FK relation. > There are two scenarios need attention. > 1) foreign key and primary key are on the same table(INSERT's target table). > (referenced and referencing are the same table) > 2) referenced and referencing table are both partition of INSERT's target > table. > (These cases are really rare for me) > > In the two cases, the referenced table could be modified when INSERTing and > CCI is necessary, So, I think we should treat these cases as parallel > restricted > while doing safety check. > > Attaching V1 patch that Implemented above feature and passed regression > test.
Attaching rebased patch based on HEAD. Best regards, houzj
v2-0002-extend-safery-check-for-fk-relation.patch
Description: v2-0002-extend-safery-check-for-fk-relation.patch
v2-0001-skip-cci.patch
Description: v2-0001-skip-cci.patch