pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 德哥 <digoal@126.com>
To: Euler Taveira <euler@timbira.com.br>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema
Date: Wed, 11 May 2016 08:46:41 +0800 (CST)
Message-ID: <3d76295f.13e5.1549d47b00a.Coremail.digoal@126.com> (raw)
In-Reply-To: <573250F4.6030609@timbira.com.br>
References: <20160510131217.2607.12651@wrigleys.postgresql.org>
	<CAKFQuwaYKC8Kn--A2Hq2PA78XwBhfqd90TQ9qkrCLwu6uUc_kA@mail.gmail.com>
	<30bfce8.bdfb.1549b61a771.Coremail.digoal@126.com>
	<573250F4.6030609@timbira.com.br>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>



I mean schema owner can drop object in its schema direct, not friendly.  

At 2016-05-11 05:21:56, "Euler Taveira" <euler@timbira.com.br> wrote:
>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


view thread (8+ messages)  latest in thread

Message-ID: <3d76295f.13e5.1549d47b00a.Coremail.digoal@126.com>
Permalink:  ../3d76295f.13e5.1549d47b00a.Coremail.digoal@126.com/
Also on:    postgresql.org/message-id/3d76295f.13e5.1549d47b00a.Coremail.digoal@126.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: digoal@126.com, euler@timbira.com.br, david.g.johnston@gmail.com
  Subject: Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema
  In-Reply-To: <3d76295f.13e5.1549d47b00a.Coremail.digoal@126.com>
  References: <20160510131217.2607.12651@wrigleys.postgresql.org> <CAKFQuwaYKC8Kn--A2Hq2PA78XwBhfqd90TQ9qkrCLwu6uUc_kA@mail.gmail.com> <30bfce8.bdfb.1549b61a771.Coremail.digoal@126.com> <573250F4.6030609@timbira.com.br> <3d76295f.13e5.1549d47b00a.Coremail.digoal@126.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox