• T
    Don't trust deferred-unique indexes for join removal. · 0f39d505
    Tom Lane 提交于
    The uniqueness condition might fail to hold intra-transaction, and assuming
    it does can give incorrect query results.  Per report from Marti Raudsepp,
    though this is not his proposed patch.
    
    Back-patch to 9.0, where both these features were introduced.  In the
    released branches, add the new IndexOptInfo field to the end of the struct,
    to try to minimize ABI breakage for third-party code that may be examining
    that struct.
    0f39d505
selfuncs.c 196.2 KB