From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: gszpetkowski@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6021: There is no difference between default and empty access privileges with \dp
Date: Tue, 24 May 2011 18:28:51 -0400
Message-ID: <19543.1306276131@sss.pgh.pa.us> (raw)
In-Reply-To: <BANLkTi=jjGNev+f-h_j03pd-wUb4DDxaKw@mail.gmail.com>
References: <201105110710.p4B7ALQ5021179@wwwmaster.postgresql.org>
<11419.1305238830@sss.pgh.pa.us>
<BANLkTikGc3gJLkHSAbzku5KipPtUq9Ep2w@mail.gmail.com>
<17765.1305493378@sss.pgh.pa.us>
<BANLkTi=jjGNev+f-h_j03pd-wUb4DDxaKw@mail.gmail.com>
Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, May 15, 2011 at 5:02 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Robert Haas <robertmhaas@gmail.com> writes:
>>> On Thu, May 12, 2011 at 6:20 PM, Tom Lane <tgl@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.
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.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, gszpetkowski@gmail.com
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> <BANLkTikGc3gJLkHSAbzku5KipPtUq9Ep2w@mail.gmail.com> <17765.1305493378@sss.pgh.pa.us> <BANLkTi=jjGNev+f-h_j03pd-wUb4DDxaKw@mail.gmail.com> <19543.1306276131@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox