• P
    Speed up information schema privilege views · 36f887c4
    Peter Eisentraut 提交于
    Instead of expensive cross joins to resolve the ACL, add table-returning
    function aclexplode() that expands the ACL into a useful form, and join
    against that.
    
    Also, implement the role_*_grants views as a thin layer over the respective
    *_privileges views instead of essentially repeating the same code twice.
    
    fixes bug #4596
    
    by Joachim Wieland, with cleanup by me
    36f887c4
acl.c 123.2 KB