Re: how to check objects dependency?? - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: how to check objects dependency??
Date
Msg-id 20071102193052.GC2374@alvh.no-ip.org
Whole thread Raw
In response to Re: how to check objects dependency??  (Jessica Richard <rjessil@yahoo.com>)
List 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)

pgsql-admin by date:

Previous
From: Alexander Lohse
Date:
Subject: Problems with missing OIDs
Next
From: "Tena Sakai"
Date:
Subject: schema privilege question