Matview Refresh Privilege Clarification - Mailing list pgsql-docs

From PG Doc comments form
Subject Matview Refresh Privilege Clarification
Date
Msg-id 161339416452.3459.4015036841219280623@wrigleys.postgresql.org
Whole thread Raw
List pgsql-docs
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.

pgsql-docs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Documentation on Hash and btree Indexes on jsonb
Next
From: PG Doc comments form
Date:
Subject: About the return states of SPI_execute for plpy.execute().status()