diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-08-17 11:29:15 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-08-17 11:31:47 +0900 |
commit | b43cf1dcded905abeceefc74fe44bbffc52ac96d (patch) | |
tree | ea8f9847eeaa708a013456564c75c174ba6aeed4 | |
parent | dedc6a2bb15d1b62485840ad871902137d74c9a1 (diff) | |
download | postgresql-b43cf1dcded905abeceefc74fe44bbffc52ac96d.tar.gz postgresql-b43cf1dcded905abeceefc74fe44bbffc52ac96d.zip |
Mention ownership requirements for REFRESH MATERIALIZED VIEW in docs
Author: Dian Fay
Discussion: https://postgr.es/m/745abbd2-a1a0-ead8-2cb2-768c16747d97@gmail.com
Backpatch-through: 9.3
-rw-r--r-- | doc/src/sgml/ref/refresh_materialized_view.sgml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/refresh_materialized_view.sgml b/doc/src/sgml/ref/refresh_materialized_view.sgml index 9cf01a25a5d..fd06f1fda14 100644 --- a/doc/src/sgml/ref/refresh_materialized_view.sgml +++ b/doc/src/sgml/ref/refresh_materialized_view.sgml @@ -31,7 +31,8 @@ REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] <replaceable class="parameter">name</ <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 |