Re: BUG #4893: Grants on inherited tables checks before constraint exclusion see, that table not needed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4893: Grants on inherited tables checks before constraint exclusion see, that table not needed
Дата
Msg-id 11168.1246283777@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4893: Grants on inherited tables checks before constraint exclusion see, that table not needed  ("Vladimir Lavrentiev" <vyorick@gmail.com>)
Список pgsql-bugs
"Vladimir Lavrentiev" <vyorick@gmail.com> writes:
> Description:        Grants on inherited tables checks before constraint
> exclusion see, that table not needed

This is not a bug.  Sorry, but that's just the way it works: you need
suitable permission on every table referenced by the query.  Constraint
exclusion is just an optimization, it does not change the semantics;
in particular it doesn't change permissions requirements.

            regards, tom lane

В списке pgsql-bugs по дате отправления: