From 89c18a983847dea8250a3084974694627016cd80 Mon Sep 17 00:00:00 2001 From: echonesis Date: Fri, 26 Jun 2026 16:07:46 +0800 Subject: [PATCH 1/2] Doc: Fix typos Fix typos in documentation. --- doc/src/sgml/release-16.sgml | 2 +- doc/src/sgml/rules.sgml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/src/sgml/release-16.sgml b/doc/src/sgml/release-16.sgml index f90ead3d56e..975a1eac8b3 100644 --- a/doc/src/sgml/release-16.sgml +++ b/doc/src/sgml/release-16.sgml @@ -13631,7 +13631,7 @@ Author: Michael Paquier Backend support for this authentication method was removed in - PostgresSQL 9.1. + PostgreSQL 9.1. diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml index 22e4cad1039..cc7d3b84fad 100644 --- a/doc/src/sgml/rules.sgml +++ b/doc/src/sgml/rules.sgml @@ -1151,7 +1151,7 @@ CREATE INCREMENTAL MATERIALIZED VIEW mymatview AS SELECT * postgres=# CREATE INCREMENTAL MATERIALIZED VIEW m AS SELECT * FROM t0; NOTICE: could not create an index on materialized view "m" automatically -HINT: Create an index on the materialized view for effcient incremental maintenance. +HINT: Create an index on the materialized view for efficient incremental maintenance. SELECT 3 postgres=# SELECT * FROM m; i @@ -1253,14 +1253,14 @@ Time: 13.068 ms automatically if possible. If the view definition query has a GROUP BY clause, a unique index is created on the columns of GROUP BY expressions. Also, if the view has DISTINCT clause, a unique index is created on all columns in the target list. Otherwise, if the - view contains all primary key attritubes of its base tables in the target list, a unique - index is created on these attritubes. In other cases, no index is created. + view contains all primary key attributes of its base tables in the target list, a unique + index is created on these attributes. In other cases, no index is created. In the previous example, a unique index "mv_ivm_index" is created on aid and bid columns of materialized view "mv_ivm", and this enables the rapid update of the view. - Dropping this index make updating the view take a loger time. + Dropping this index make updating the view take a longer time. test=# DROP INDEX mv_ivm_index; DROP INDEX @@ -1409,7 +1409,7 @@ Time: 16386.245 ms (00:16.386) - UNION/INTERSECT/EXCEPT clauses cannnot be used. + UNION/INTERSECT/EXCEPT clauses cannot be used. @@ -1427,13 +1427,13 @@ Time: 16386.245 ms (00:16.386) - inheritance parent tables cannnot be used. + inheritance parent tables cannot be used. - VALUES clause cannnot be used. + VALUES clause cannot be used. From 204237b9f4b665df3e80223f9883fe4b73738df0 Mon Sep 17 00:00:00 2001 From: echonesis Date: Fri, 26 Jun 2026 18:02:00 +0800 Subject: [PATCH 2/2] Correct grammar in rules.sgml Correct grammar in rules.sgml based on code review comments. --- doc/src/sgml/rules.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml index cc7d3b84fad..8d85d1e2afc 100644 --- a/doc/src/sgml/rules.sgml +++ b/doc/src/sgml/rules.sgml @@ -1260,7 +1260,7 @@ Time: 13.068 ms In the previous example, a unique index "mv_ivm_index" is created on aid and bid columns of materialized view "mv_ivm", and this enables the rapid update of the view. - Dropping this index make updating the view take a longer time. + Dropping this index makes updating the view take a longer time. test=# DROP INDEX mv_ivm_index; DROP INDEX