Re: RLS bug in expanding security quals

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: RLS bug in expanding security quals
Дата
Msg-id CAEZATCUYtfH8KiyDfE-mAagfAHLPS=z_MXSwBAeo9MkmHPrJ9Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RLS bug in expanding security quals  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: RLS bug in expanding security quals  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Re: RLS bug in expanding security quals  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On 8 October 2015 at 15:05, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> Attached is a simple patch that appears to work, but it needs more
> testing (and some regression tests).
>

Here's an updated patch with an extra regression test case that
triggers the issue.

I've also updated the function comment for expand_security_quals() to
better explain the situations where it actually has work to do --
tables with RLS and updates to auto-updatable security barrier views,
but not SELECTs from security berrier views. This explains why this
bug doesn't affect security barrier views (UNION ALL views aren't
auto-updatable), so only 9.5 and HEAD need to be patched.

Regards,
Dean

Вложения

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

Предыдущее
От: David Christensen
Дата:
Сообщение: Re: [PATCH] Teach Catalog.pm how many attributes there should be per DATA() line
Следующее
От: Nathan Wagner
Дата:
Сообщение: Re: bugs and bug tracking