Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: digoal(at)126(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema
Date: 2016-05-10 13:59:13
Message-ID: 2140.1462888753@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

digoal(at)126(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2016-05-10 14:18:46 Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema
Previous Message digoal 2016-05-10 13:12:17 BUG #14131: BUG, schema owner can drop otheruser's object in it's schema