doc: Fix some grammar and typos
authorMichael Paquier
Sat, 1 Oct 2022 06:28:02 +0000 (15:28 +0900)
committerMichael Paquier
Sat, 1 Oct 2022 06:28:02 +0000 (15:28 +0900)
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
doc/src/sgml/func.sgml
doc/src/sgml/logical-replication.sgml
src/backend/access/transam/rmgr.c

index acf5077d7513067ac13e2e3301c0bacd3da725ce..2893016cef32641b8e3e7b7f946d7778b0159720 100644 (file)
@@ -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 
+  for rmid. When you are ready to release the extension
+  to users, reserve a new resource manager ID at the 
   url="https://wiki.postgresql.org/wiki/CustomWALResourceManagers">Custom WAL
   Resource Manager page.
  
index e82077292c6d03ebb06b9b90e622d05ad21d29ab..b2bdbc7d1ccd8673edfb9dc320edad3751856887 100644 (file)
@@ -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
         .
        
index 77be4c37e7fa4c7b10274a81d89e0ffe88a12051..e98538e540018f60cb544a71dd677f5e7e16ce7c 100644 (file)
@@ -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.
       
index 8ed69244e39ee3215c9971f8f5f756523919f775..3b6de3aa04e4d2d14dacba87bd9971d60f7ad394 100644 (file)
@@ -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.