diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-12-05 21:43:36 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-12-05 21:43:36 +0000 |
commit | 36f887c41c294d0035d84dfac75b4cc68a514950 (patch) | |
tree | 0481aff6c13784e06286065f3b0919aeee6a9453 /src/backend/commands/constraint.c | |
parent | 636bac6e4617caa60dbbd5a2e3f4cf7afa88281a (diff) | |
download | postgresql-36f887c41c294d0035d84dfac75b4cc68a514950.tar.gz postgresql-36f887c41c294d0035d84dfac75b4cc68a514950.zip |
Speed up information schema privilege views
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
Diffstat (limited to 'src/backend/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions