I would be happy to review this patch, but a look through the email leaves methinking it may still be waiting on a C implementation of pg_get_acl(). Is thatright? And perhaps a view rename to pg_privileges, following Peter's comment?