Re: multivariate statistics v14

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: multivariate statistics v14
Дата
Msg-id CA+TgmoZw-Z+_mrT0KbYhq4KoEP_jgY_uosEd_LZDQg1-jzi5=w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: multivariate statistics v14  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: multivariate statistics v14  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Emre Hasegeli
Дата:
Сообщение: Re: [PATCH] we have added support for box type in SP-GiST index
Следующее
От: Andres Freund
Дата:
Сообщение: latch usage and postmaster death