Re: how to check objects dependency??

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jessica Richard <rjessil(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: how to check objects dependency??
Date: 2007-11-02 15:15:02
Message-ID: 29585.1194016502@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jessica Richard <rjessil(at)yahoo(dot)com> writes:
> I am sure in the future there will be times that I need to check the ownership of the functions but not allowed to drop users to see check the dependencies.

There's no need for a separate operation for that. Do

begin;
drop user foo;
rollback;

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Childs 2007-11-02 15:15:14 Re: jumpstart - pgsql.v824
Previous Message Campbell, Lance 2007-11-02 14:55:00 How do I identify the privileges a role has?