Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group