Re: Owner inheritance

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
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:17:21
Message-ID: 4D10D311.9020706@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/21/2010 07:04 AM, gsdfg gdfg wrote:
> 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.
>

That syntax would violate POLA in the case of inherited tables (OWNER TO
CONTAINER, or just OWNER TO SCHEMA etc might be clearer). And I think
we'd have to restrict it to superusers anyway, which would seriously
limit its usefulness.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message tv 2010-12-21 16:30:17 Re: proposal : cross-column stats
Previous Message Tom Lane 2010-12-21 16:16:38 Re: Owner inheritance