| От | Tom Lane |
|---|---|
| Тема | Re: [RFC] Interface of Row Level Security |
| Дата | |
| Msg-id | 16967.1338831445@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [RFC] Interface of Row Level Security (Kohei KaiGai <kaigai@kaigai.gr.jp>) |
| Ответы |
Re: [RFC] Interface of Row Level Security
|
| Список | pgsql-hackers |
Kohei KaiGai <kaigai@kaigai.gr.jp> writes:
> Here is two problems around RLSBYPASS. The first is we have
> no idea to handle invalidation of prepared-statement when current
> user is switched, right now.
How is that specifically the fault of RLSBYPASS? *Any* of the schemes
you're proposing for inlined RLS checks will have problems with userID
switching.
My guess is we'd have to treat the effective userID as part of the
plancache lookup key to make it safe to inline anything related to RLS.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера