• Peter Eisentraut's avatar
    Improve reporting of permission errors for array types · 15b1918e
    Peter Eisentraut authored
    Because permissions are assigned to element types, not array types,
    complaining about permission denied on an array type would be
    misleading to users.  So adjust the reporting to refer to the element
    type instead.
    
    In order not to duplicate the required logic in two dozen places,
    refactor the permission denied reporting for types a bit.
    
    pointed out by Yeb Havinga during the review of the type privilege
    feature
    15b1918e
privileges.out 39 KB