Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNR1A-0004XJ-CW for pgsql-docs@arkaria.postgresql.org; Thu, 24 Oct 2019 00:30:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iNR19-0007TY-3G for pgsql-docs@arkaria.postgresql.org; Thu, 24 Oct 2019 00:30:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNR18-0007TR-Oc for pgsql-docs@lists.postgresql.org; Thu, 24 Oct 2019 00:30:18 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iNR12-0008Mo-3y for pgsql-docs@lists.postgresql.org; Thu, 24 Oct 2019 00:30:17 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1iNR11-0005V3-1t; Wed, 23 Oct 2019 20:30:11 -0400 Date: Wed, 23 Oct 2019 20:30:11 -0400 From: Bruce Momjian To: apraveen@pivotal.io, pgsql-docs@lists.postgresql.org Subject: Re: Typo on Refresh Materialized View page Message-ID: <20191024003011.GC8650@momjian.us> References: <157076828181.26165.15231292023740913543@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: <157076828181.26165.15231292023740913543@wrigleys.postgresql.org> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 11, 2019 at 04:31:21AM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/12/sql-refreshmaterializedview.html > Description: > > Hello > > There appears to be a typo on this page: > https://www.postgresql.org/docs/12/sql-refreshmaterializedview.html > > In the description of CONCURRENTLY clause, one sentence reads "it must not > index on any expressions nor include a WHERE clause". This should be > changed to "it must be *be* an index on an expression nor include a WHERE > clause". Yes, you are right that the wording is awkward, and has been that way at least back to 9.4, so I have patched it back through that release; patch attached. Thanks for the report. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + --2B/JsCI69OhZNC5r Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="refresh.diff" diff --git a/doc/src/sgml/ref/refresh_materialized_view.sgml b/doc/src/sgml/ref/refresh_materialized_view.sgml new file mode 100644 index fd06f1f..8ae6267 *** a/doc/src/sgml/ref/refresh_materialized_view.sgml --- b/doc/src/sgml/ref/refresh_materialized_view.sgml *************** REFRESH MATERIALIZED VIEW [ CONCURRENTLY *** 63,70 **** This option is only allowed if there is at least one UNIQUE index on the materialized view which uses only ! column names and includes all rows; that is, it must not index on any ! expressions nor include a WHERE clause. This option may not be used when the materialized view is not already --- 63,70 ---- This option is only allowed if there is at least one UNIQUE index on the materialized view which uses only ! column names and includes all rows; that is, it must not be an ! expression index or include a WHERE clause. This option may not be used when the materialized view is not already --2B/JsCI69OhZNC5r--