Re: Unable to drop role

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"McGehee, Robert" <Robert.McGehee@xxxxxxxxxxxxxxxx> 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

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux