Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 7522EB5DBE0 for ; Thu, 26 May 2011 19:27:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 92629-10 for ; Thu, 26 May 2011 22:27:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 51100B5D832 for ; Thu, 26 May 2011 19:27:30 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p4QMRTcY009543; Thu, 26 May 2011 18:27:29 -0400 (EDT) To: Robert Haas , gszpetkowski@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6021: There is no difference between default and empty access privileges with \dp In-reply-to: <19543.1306276131@sss.pgh.pa.us> References: <201105110710.p4B7ALQ5021179@wwwmaster.postgresql.org> <11419.1305238830@sss.pgh.pa.us> <17765.1305493378@sss.pgh.pa.us> <19543.1306276131@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Tue, 24 May 2011 18:28:51 -0400" Date: Thu, 26 May 2011 18:27:29 -0400 Message-ID: <9542.1306448849@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/193 X-Sequence-Number: 30332 I wrote: > Robert Haas writes: >> On Sun, May 15, 2011 at 5:02 PM, Tom Lane wrote: >>> Robert Haas writes: >>>> On Thu, May 12, 2011 at 6:20 PM, Tom Lane 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. > So is this something we should slip into 9.1, or is it 9.2 material? > I've got no strong opinion about that myself. Given the complete lack of responses, it's apparent that not too many people care about this issue. So I've stuck it on the TODO list; it doesn't seem like something we should change post-beta1. regards, tom lane