The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/13/sql-refreshmaterializedview.html
Description:
I hope everyone is well.
I have not found it explicitly specify anywhere but from my experience I
have gathered that when you refresh a materialised view as say a Superuser
it will use the privileges of the owner of the materialized view to run the
underlying query. I am sure this bit of information would be handy to have
specified in the documentation on refreshing materialised views so as to
consider that the owner of the materialized view has the correct privileges
to the objects referenced in the query.
Stay safe,
Ettienne.
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера