Re: Owner inheritance - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Owner inheritance
Date
Msg-id 2105.1292948198@sss.pgh.pa.us
Whole thread Raw
In response to Owner inheritance  (gsdfg gdfg <mx.morin@gmail.com>)
List pgsql-hackers
gsdfg gdfg <mx.morin@gmail.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


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Extensions, patch 22 (cleanup, review, cleanup)
Next
From: Andrew Dunstan
Date:
Subject: Re: Owner inheritance