Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id CB0DB1337BA4 for ; Fri, 12 Nov 2010 09:32:38 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 74727-02 for ; Fri, 12 Nov 2010 13:32:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og119.obsmtp.com (exprod7og119.obsmtp.com [64.18.2.16]) by mail.postgresql.org (Postfix) with SMTP id C27811337B39 for ; Fri, 12 Nov 2010 09:32:30 -0400 (AST) Received: from source ([209.85.215.181]) by exprod7ob119.postini.com ([64.18.6.12]) with SMTP ID DSNKTN1B7mu95SzHiuu6tcKrE1xkZJZGU5Rn@postini.com; Fri, 12 Nov 2010 05:32:31 PST Received: by mail-ey0-f181.google.com with SMTP id 6so1975134eyb.40 for ; Fri, 12 Nov 2010 05:32:30 -0800 (PST) Received: by 10.213.7.65 with SMTP id c1mr2057100ebc.26.1289568749580; Fri, 12 Nov 2010 05:32:29 -0800 (PST) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id v51sm3190501eeh.22.2010.11.12.05.32.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Nov 2010 05:32:27 -0800 (PST) Message-ID: <4CDD41E7.90103@enterprisedb.com> Date: Fri, 12 Nov 2010 15:32:23 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 MIME-Version: 1.0 To: Chetan CC: pgsql-bugs@postgresql.org Subject: Re: BUG #5750: dropping objects owned by user fails References: <201011121306.oACD6FvY027652@wwwmaster.postgresql.org> In-Reply-To: <201011121306.oACD6FvY027652@wwwmaster.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.2 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3 X-Spam-Level: X-Archive-Number: 201011/86 X-Sequence-Number: 28666 On 12.11.2010 15:06, Chetan wrote: > postgres=# create user t; > CREATE ROLE > postgres=# create foreign data wrapper wrap123; > CREATE FOREIGN DATA WRAPPER > postgres=# grant usage on foreign data wrapper wrap123 to t; > GRANT > postgres=# drop owned by t; > ERROR: unexpected object class 2328 > postgres=# Fixed. Of course, foreign data wrappers and servers don't do anything interesting yet, but since we have them, might as well make them work correctly. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com