Re: multivariate statistics v14 - Mailing list pgsql-hackers

From Robert Haas
Subject Re: multivariate statistics v14
Date
Msg-id CA+TgmoZw-Z+_mrT0KbYhq4KoEP_jgY_uosEd_LZDQg1-jzi5=w@mail.gmail.com
Whole thread Raw
In response to Re: multivariate statistics v14  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: multivariate statistics v14
List pgsql-hackers
On Sun, Mar 20, 2016 at 11:34 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> ObjectProperty[] contains a comment that the ACL is "same as relation",
> but is that still correct, given that now stats may be related to more
> than one relation?  Do we even know what the rules for ACLs on
> cross-relation stats are?  One very simple way to get around this is to
> dictate that all the rels must have the same owner.

That's not really all that simple - you'd have to forbid changing the
owner of a relation involved in multi-rel statistics, but that's
horrible.  Presumably at the very least you'd then have to find some
way of allowing the owner of everything in the group to be changed at
the same time, but that's a whole new innovation.  I think this is a
very messy line of attack.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Emre Hasegeli
Date:
Subject: Re: [PATCH] we have added support for box type in SP-GiST index
Next
From: Andres Freund
Date:
Subject: latch usage and postmaster death