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 17765.1305493378@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #6021: There is no difference between default and empty access privileges with \dp  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: BUG #6021: There is no difference between default and empty access privileges with \dp
Список pgsql-bugs
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

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Plperl trigger variables no longer global
Следующее
От: Matthijs Bomhoff
Дата:
Сообщение: Re: Re: Bug with STABLE function using the wrong snapshot (probably during planning)