Show default privileges in information schema

Peter Eisentraut <peter_e@gmx.net>

Commit: b376ec6fa57bc76037014ede29498e2d1611968e
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2012-01-27T19:58:51Z
Releases: 9.2.0
Show default privileges in information schema

Hitherto, the information schema only showed explicitly granted
privileges that were visible in the *acl catalog columns.  If no
privileges had been granted, the implicit privileges were not shown.

To fix that, add an SQL-accessible version of the acldefault()
function, and use that inside the aclexplode() calls to substitute the
catalog-specific default privilege set for null values.

reviewed by Abhijit Menon-Sen

Files