pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: reach.me.et@gmail.com
Subject: Matview Refresh Privilege Clarification
Date: Mon, 15 Feb 2021 13:02:44 +0000
Message-ID: <161339416452.3459.4015036841219280623@wrigleys.postgresql.org> (raw)

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.


Message-ID: <161339416452.3459.4015036841219280623@wrigleys.postgresql.org>
Permalink:  ../161339416452.3459.4015036841219280623@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/161339416452.3459.4015036841219280623@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, reach.me.et@gmail.com
  Subject: Re: Matview Refresh Privilege Clarification
  In-Reply-To: <161339416452.3459.4015036841219280623@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox