Re: AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity
В списке pgsql-hackers по дате отправления:
| От | Stephen Frost |
|---|---|
| Тема | Re: AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity |
| Дата | |
| Msg-id | 20150828154104.GK3685@tamriel.snowman.net обсуждение |
| Ответ на | Re: AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-hackers |
* Andres Freund (andres@anarazel.de) wrote:
> On 2015-08-28 08:49:24 -0400, Stephen Frost wrote:
> >
> > + /*
> > + * get_row_security_policies just added to securityQuals and/or
> > + * withCheckOptions, and there were SubLinks, so make sure
> > + * we lock any relations which were added as a result.
> > + */
>
> Very minor comment: Strictly speaking the quals/wces haven't yet been
> added to the Query, that happens only few lines down. I think it makes
> sense to mention that we normally rely on the parser to acquire locks,
> but that can't work here since sec quals/wces aren't visible to the
> parser.
Pushed.
Will work on the rewriteTargetView fix.
Thanks!
Stephen
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера