aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/constraint.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-12-05 21:43:36 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-12-05 21:43:36 +0000
commit36f887c41c294d0035d84dfac75b4cc68a514950 (patch)
tree0481aff6c13784e06286065f3b0919aeee6a9453 /src/backend/commands/constraint.c
parent636bac6e4617caa60dbbd5a2e3f4cf7afa88281a (diff)
downloadpostgresql-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