Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1ACEE9FA151 for ; Fri, 2 Nov 2007 12:15:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36204-05 for ; Fri, 2 Nov 2007 12:15:04 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 28F039FA14E for ; Fri, 2 Nov 2007 12:15:03 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lA2FF2pu029586; Fri, 2 Nov 2007 11:15:02 -0400 (EDT) To: Jessica Richard cc: pgsql-admin@postgresql.org Subject: Re: how to check objects dependency?? In-reply-to: <365368.53951.qm@web56411.mail.re3.yahoo.com> References: <365368.53951.qm@web56411.mail.re3.yahoo.com> Comments: In-reply-to Jessica Richard message dated "Fri, 02 Nov 2007 05:50:20 -0700" Date: Fri, 02 Nov 2007 11:15:02 -0400 Message-ID: <29585.1194016502@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/23 X-Sequence-Number: 27266 Jessica Richard 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