pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Sun, 15 May 2011 17:02:58 -0400
Message-ID: <17765.1305493378@sss.pgh.pa.us> (raw)
In-Reply-To: <BANLkTikGc3gJLkHSAbzku5KipPtUq9Ep2w@mail.gmail.com>
References: <201105110710.p4B7ALQ5021179@wwwmaster.postgresql.org>
	<11419.1305238830@sss.pgh.pa.us>
	<BANLkTikGc3gJLkHSAbzku5KipPtUq9Ep2w@mail.gmail.com>

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 ...

			regards, tom lane



view thread (11+ messages)  latest in thread

Message-ID: <17765.1305493378@sss.pgh.pa.us>
Permalink:  ../17765.1305493378@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17765.1305493378@sss.pgh.pa.us

 · 

reply

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: <17765.1305493378@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>

* 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