Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0F77-0005v1-3R for pgsql-bugs@arkaria.postgresql.org; Tue, 10 May 2016 21:22:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b0F76-0007Lg-Md for pgsql-bugs@arkaria.postgresql.org; Tue, 10 May 2016 21:22:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b0F6S-0005F2-PJ for pgsql-bugs@postgresql.org; Tue, 10 May 2016 21:22:04 +0000 Received: from [2600:3c02::f03c:91ff:fe70:c491] (helo=apinaye.timbira.com.br) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0F6P-0003Em-Np for pgsql-bugs@postgresql.org; Tue, 10 May 2016 21:22:04 +0000 Received: by apinaye.timbira.com.br (Postfix, from userid 110) id D3CB2173E0B; Tue, 10 May 2016 18:21:59 -0300 (BRT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on apinaye X-Spam-Level: X-Spam-Status: No, score=-100.2 required=5.0 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_AHBL_RHSBL,URIBL_BLOCKED,USER_IN_WHITELIST autolearn=no version=3.3.1 Received: from [10.3.2.23] (unknown [179.105.168.188]) by apinaye.timbira.com.br (Postfix) with ESMTPSA id 2B958173E0B; Tue, 10 May 2016 18:21:57 -0300 (BRT) Subject: Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema To: =?UTF-8?B?5b635ZOl?= , "David G. Johnston" References: <20160510131217.2607.12651@wrigleys.postgresql.org> <30bfce8.bdfb.1549b61a771.Coremail.digoal@126.com> Cc: "pgsql-bugs@postgresql.org" From: Euler Taveira Organization: Timbira Message-ID: <573250F4.6030609@timbira.com.br> Date: Tue, 10 May 2016 18:21:56 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: <30bfce8.bdfb.1549b61a771.Coremail.digoal@126.com> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2600:3c02::f03c:91ff:fe70:c491 (failed) X-Pg-Spam-Score: -1.1 (-) 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 On 10-05-2016 12:55, µÂ¸ç wrote: > I think we can improve friendly. > like this : > drop object direct , if user it's not superuser & owner, then error. > and when drop schema or database. > I don't buy that it is an improvement. First, you will break applications that rely on that behavior since 7.3 (2002). Second, we have workaround to avoid such DROP occurs -- set a reliable schema owner. -- Euler Taveira Timbira - http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs