Mention ownership requirements for REFRESH MATERIALIZED VIEW in docs
authorMichael Paquier
Fri, 17 Aug 2018 02:29:15 +0000 (11:29 +0900)
committerMichael Paquier
Fri, 17 Aug 2018 02:29:15 +0000 (11:29 +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 9cf01a25a5d109f0e51204a42b66848b684311f0..fd06f1fda148852a00f236fb43081d5745ec31c6 100644 (file)
@@ -31,7 +31,8 @@ REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] name
 
   
    REFRESH MATERIALIZED VIEW 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
    WITH DATA 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 WITH NO DATA is specified no new