(aclexplode(datacl)).grantor,
                  
                  
                         (aclexplode(datacl)).grantee,
                  
                  
                         (aclexplode(datacl)).privilege_type,
                  
                  
                         (aclexplode(datacl)).is_grantable
                  
                  
                  FROM
                  
                  
                   pg_database
                  
                  
                
Любопытно, в принципе подходит. Чуть-чуть допилить только
Обсуждают сегодня