]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Mention ownership requirements for REFRESH MATERIALIZED VIEW in docs
authorMichael Paquier <michael@paquier.xyz>
Fri, 17 Aug 2018 02:29:15 +0000 (11:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 17 Aug 2018 02:33:02 +0000 (11:33 +0900)
Author: Dian Fay
Discussion: https://postgr.es/m/745abbd2-a1a0-ead8-2cb2-768c16747d97@gmail.com
Backpatch-through: 9.3

doc/src/sgml/ref/refresh_materialized_view.sgml

index 8f59bbf123108ae9f87be58aadfdf7124756a2b6..b5f22f5fd9359864ef89a95a2b72acfdfe4fc4e3 100644 (file)
@@ -31,7 +31,8 @@ REFRESH MATERIALIZED VIEW <replaceable class="PARAMETER">name</replaceable>
 
   <para>
    <command>REFRESH MATERIALIZED VIEW</command> completely replaces the
-   contents of a materialized view.  The old contents are discarded.  If
+   contents of a materialized view.  To execute this command you must be the
+   owner of the materialized view.  The old contents are discarded.  If
    <literal>WITH DATA</literal> is specified (or defaults) the backing query
    is executed to provide the new data, and the materialized view is left in a
    scannable state.  If <literal>WITH NO DATA</literal> is specified no new