| От | Stephen Frost |
|---|---|
| Тема | Re: INSERT ... ON CONFLICT UPDATE and RLS |
| Дата | |
| Msg-id | 20150109004924.GK3062@tamriel.snowman.net обсуждение |
| Ответ на | Re: INSERT ... ON CONFLICT UPDATE and RLS (Peter Geoghegan <pg@heroku.com>) |
| Ответы |
Re: INSERT ... ON CONFLICT UPDATE and RLS
|
| Список | pgsql-hackers |
Peter,
* Peter Geoghegan (pg@heroku.com) wrote:
> For column level privileges, you wouldn't expect to only get an error
> about not having the relevant update permissions at runtime, when the
> update path happens to be taken. And so it is for RLS.
Right, that's the precedent we should be considering. Column-level
privileges is a great example- you need both insert and update
privileges for the columns involved for the command to succeed. It
shouldn't depend on which path actually ends up being taken.
Thanks!
Stephen
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера