From 83e42a0035718914efad2fe04080fd6c579e9ef2 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Sat, 1 Oct 2022 15:28:02 +0900 Subject: [PATCH] doc: Fix some grammar and typos This fixes some areas related to logical replication and custom RMGRs. Author: Ekaterina Kiryanova Discussion: https://postgr.es/m/fa4773f1-1396-384a-bcd7-85b5e013f399@postgrespro.ru Backpatch-through: 15 --- doc/src/sgml/custom-rmgr.sgml | 6 +++--- doc/src/sgml/func.sgml | 2 +- doc/src/sgml/logical-replication.sgml | 6 +++--- src/backend/access/transam/rmgr.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/src/sgml/custom-rmgr.sgml b/doc/src/sgml/custom-rmgr.sgml index acf5077d75..2893016cef 100644 --- a/doc/src/sgml/custom-rmgr.sgml +++ b/doc/src/sgml/custom-rmgr.sgml @@ -66,7 +66,7 @@ typedef struct RmgrData * Register a new custom WAL resource manager. * * Resource manager IDs must be globally unique across all extensions. Refer - * to https://wiki.postgresql.org/wiki/CustomWALResourceManager to reserve a + * to https://wiki.postgresql.org/wiki/CustomWALResourceManagers to reserve a * unique RmgrId for your extension, to avoid conflicts with other extension * developers. During development, use RM_EXPERIMENTAL_ID to avoid needlessly * reserving a new ID. @@ -76,8 +76,8 @@ extern void RegisterCustomRmgr(RmgrId rmid, RmgrData *rmgr); RegisterCustomRmgr must be called from the extension module's _PG_init function. While developing a new extension, use RM_EXPERIMENTAL_ID - for rmid. When you ready to release the extension to - users, reserve a new resource manager ID at the rmid. When you are ready to release the extension + to users, reserve a new resource manager ID at the Custom WAL Resource Manager page. diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index e82077292c..b2bdbc7d1c 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -25554,7 +25554,7 @@ SELECT collation for ('foo' COLLATE "de_DE"); will be logged at LOG message level. They will appear in the server log based on the log configuration set - (See for more information), + (see for more information), but will not be sent to the client regardless of . diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml index 77be4c37e7..e98538e540 100644 --- a/doc/src/sgml/logical-replication.sgml +++ b/doc/src/sgml/logical-replication.sgml @@ -688,18 +688,18 @@ test_sub=# SELECT * FROM t3; - one of the publications has no row filter. + One of the publications has no row filter. - one of the publications was created using FOR ALL TABLES. + One of the publications was created using FOR ALL TABLES. This clause does not allow row filters. - one of the publications was created using + One of the publications was created using FOR TABLES IN SCHEMA and the table belongs to the referred schema. This clause does not allow row filters. diff --git a/src/backend/access/transam/rmgr.c b/src/backend/access/transam/rmgr.c index 8ed69244e3..3b6de3aa04 100644 --- a/src/backend/access/transam/rmgr.c +++ b/src/backend/access/transam/rmgr.c @@ -89,7 +89,7 @@ RmgrNotFound(RmgrId rmid) * Register a new custom WAL resource manager. * * Resource manager IDs must be globally unique across all extensions. Refer - * to https://wiki.postgresql.org/wiki/CustomWALResourceManager to reserve a + * to https://wiki.postgresql.org/wiki/CustomWALResourceManagers to reserve a * unique RmgrId for your extension, to avoid conflicts with other extension * developers. During development, use RM_EXPERIMENTAL_ID to avoid needlessly * reserving a new ID.