On Sun, May 15, 2011 at 5:02 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Robert Haas <robertmh...@gmail.com> writes: >> On Thu, May 12, 2011 at 6:20 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: >>> One possibility is to start showing "default" when the ACL is null, >>> which would be quite easy to implement: >>> >>> COALESCE(array_to_string(c.relacl, E'\n'), 'default') >>> >>> But that might be too big a change. > >> I don't think that's too big a change. ISTM we ought to change >> something. Another idea would be to always show the permissions, even >> if nothing has been changed from the defaults. > > That would require psql to have local knowledge about what the defaults > are, which is someplace I'd rather not go ...
Ugh. It's too bad the server doesn't expose that. But given that it doesn't, your idea sounds good to me. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs