From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Jessica Richard <rjessil(at)yahoo(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: how to check objects dependency?? |
Date: | 2007-11-02 19:30:52 |
Message-ID: | 20071102193052.GC2374@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Jessica Richard wrote:
> Instead of using drop user username, I used drop user "username" with
> double quotes, then the error message told me more detail about a
> specific user defined function. Then I was able to drop that function,
> then drop this user.
FYI you can use the commands DROP OWNED and REASSIGN OWNED to drop the
objects by a given role, and respectively assign them to someone else.
(8.2 only).
--
Alvaro Herrera Valdivia, Chile ICBM: S 39º 49' 18.1", W 73º 13' 56.4"
"Ninguna manada de bestias tiene una voz tan horrible como la humana" (Orual)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Lohse | 2007-11-02 22:11:07 | Problems with missing OIDs |
Previous Message | Campbell, Lance | 2007-11-02 16:40:42 | Re: How do I identify the privileges a role has? |