From: | "McGehee, Robert" <Robert(dot)McGehee(at)geodecapital(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Unable to drop role |
Date: | 2010-08-24 13:25:30 |
Message-ID: | EEBC169715EB8C438D3C9283AF0F201C08DF4CAF@MSGBOSCLM2WIN.DMN1.FMR.COM |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers |
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!
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Monday, August 23, 2010 8:11 PM
To: McGehee, Robert
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Unable to drop role
"McGehee, Robert" <Robert(dot)McGehee(at)geodecapital(dot)com> writes:
> template1=# DROP ROLE a485099;
> ERROR: role "a485099" cannot be dropped because some objects depend
on it
> DETAIL: access to database template1
> template1=# REVOKE CONNECT ON DATABASE template1 FROM a485099;
> REVOKE
CONNECT is not the only possible privilege. Try REVOKE ALL.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-08-24 13:36:05 | Re: Unable to drop role |
Previous Message | Brad Nicholson | 2010-08-24 13:25:23 | Re: Enterprise pg database monitoring |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2010-08-24 13:32:37 | Re: Return of the Solaris vacuum polling problem -- anyone remember this? |
Previous Message | Bruce Momjian | 2010-08-24 12:57:34 | Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session |