• Tom Lane's avatar
    Fix bogus logic for skipping unnecessary partcollation dependencies. · 84d51488
    Tom Lane authored
    The idea here is to not call recordDependencyOn for the default collation,
    since we know that's pinned.  But what the code actually did was to record
    the partition key's dependency on the opclass twice, instead.
    
    Evidently introduced by sloppy coding in commit 2186b608.  Back-patch
    to v10 where that came in.
    84d51488
heap.c 106 KB