Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b08Dm-0003C9-TM for pgsql-bugs@arkaria.postgresql.org; Tue, 10 May 2016 14:01:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b08Dm-0004fT-Fu for pgsql-bugs@arkaria.postgresql.org; Tue, 10 May 2016 14:01:10 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b08D9-0003x6-Tf for pgsql-bugs@postgresql.org; Tue, 10 May 2016 14:00:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b08D2-0001pY-4q for pgsql-bugs@postgresql.org; Tue, 10 May 2016 14:00:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u4ADxDZW002141; Tue, 10 May 2016 09:59:13 -0400 From: Tom Lane To: digoal@126.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema In-reply-to: <20160510131217.2607.12651@wrigleys.postgresql.org> References: <20160510131217.2607.12651@wrigleys.postgresql.org> Comments: In-reply-to digoal@126.com message dated "Tue, 10 May 2016 13:12:17 -0000" Date: Tue, 10 May 2016 09:59:13 -0400 Message-ID: <2140.1462888753@sss.pgh.pa.us> X-Pg-Spam-Score: -4.0 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org digoal@126.com writes: > schema r1's owenr is r1. > i create two table in schema r1, these table's owner is r2 and postgres. but > schema r1's owner r1 can drop r2 and postgres's table in schema r1. This is the intended and documented behavior. It's no different than if a database owner chooses to drop a database. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs