Re: Owner inheritance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gsdfg gdfg <mx(dot)morin(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Owner inheritance
Date: 2010-12-21 16:16:38
Message-ID: 2105.1292948198@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

gsdfg gdfg <mx(dot)morin(at)gmail(dot)com> writes:
> Would be great if owner can be inherited from parent object (owner table ==>
> schema owner ==> database owner).
> CREATE statement could add OWNER TO PARENT to cover this feature.

What it would be is a great security hole --- exactly analogous to
allowing Unix "chown" to non-superusers. Read up on the security
pitfalls of being able to give away ownership of an object.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2010-12-21 16:17:21 Re: Owner inheritance
Previous Message Tom Lane 2010-12-21 16:12:26 Re: CommitFest wrap-up