• Stephen Frost's avatar
    Fix typo in relcache's equalPolicy() · ab6d1cd2
    Stephen Frost authored
    The USING policies were not being checked for differences as the same
    policy was being passed in to both sides of the equal().  This could
    result in backends not realizing that a policy had been changed, if
    none of the other attributes had been changed.
    
    Fix by passing to equal() the policy1 and policy2 using quals for
    comparison.
    
    No need to back-patch as this is not yet released.  Noticed while
    testing changes to RLS proposed by Dean Rasheed.
    ab6d1cd2
relcache.c 163 KB