Re: Unable to drop role

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unable to drop role
Дата
Msg-id 27616.1282656965@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Unable to drop role  ("McGehee, Robert" <Robert.McGehee@geodecapital.com>)
Ответы Re: Unable to drop role  (Alex Hunsaker <badalex@gmail.com>)
Re: Unable to drop role  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-admin
"McGehee, Robert" <Robert.McGehee@geodecapital.com> writes:
> Thanks Tom and Alvaro for clearing up my confusion.
> \l showed that a485099 had both (C)reate and (T)emporary access.
> Revoking those allowed me to drop the role. Thanks for the help!

I wonder whether Robert's confusion doesn't stem from a poor choice
of message wording:

>> template1=# DROP ROLE a485099;
>> ERROR:  role "a485099" cannot be dropped because some objects depend on it
>> DETAIL:  access to database template1

I can see how "access to" might be read as specifically meaning "CONNECT
privilege for".  Should we change this message from "access to whatever"
to "privileges for whatever", or some such wording?

            regards, tom lane

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

Предыдущее
От: Brad Nicholson
Дата:
Сообщение: Re: Enterprise pg database monitoring
Следующее
От: Silvio Brandani
Дата:
Сообщение: replication solution