Re: BUG #6021: There is no difference between default and empty access privileges with \dp

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6021: There is no difference between default and empty access privileges with \dp
Дата
Msg-id 9542.1306448849@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #6021: There is no difference between default and empty access privileges with \dp  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I wrote:
> 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.

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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Emanuel Calvo
Дата:
Сообщение: Re: BUG #6041: Unlogged table was created bad in slave node
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #6015: to_hex and negative integer