On Sun, Mar 20, 2016 at 11:34 PM, Alvaro Herrera <alvhe...@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 -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers