Fix some typos with {a,an}
authorMichael Paquier <michael@paquier.xyz>
Thu, 9 Dec 2021 06:20:36 +0000 (15:20 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 9 Dec 2021 06:20:36 +0000 (15:20 +0900)
One of the changes impacts the documentation, so backpatch.

Author: Peter Smith
Discussion: https://postgr.es/m/CAHut+Pu6+c+r3mY24VT7u+H+E_s6vMr5OdRiZ8NT3EOa-E5Lmw@mail.gmail.com
Backpatch-through: 14

contrib/amcheck/verify_nbtree.c
doc/src/sgml/ecpg.sgml
src/backend/access/table/toast_helper.c
src/backend/catalog/pg_depend.c
src/backend/jit/llvm/llvmjit_error.cpp
src/backend/replication/logical/reorderbuffer.c

index dc1508b63619508590c826084549b275b274df3d..d3b29d3d890a66e5bf6ae663310effc870d771a7 100644 (file)
@@ -1512,7 +1512,7 @@ bt_target_page_check(BtreeCheckState *state)
    /*
     * Special case bt_child_highkey_check() call
     *
-    * We don't pass an real downlink, but we've to finish the level
+    * We don't pass a real downlink, but we've to finish the level
     * processing. If condition is satisfied, we've already processed all the
     * downlinks from the target level.  But there still might be pages to the
     * right of the child page pointer to by our rightmost downlink.  And they
index 04d4a6bdb2b4a1d4977ca1fc02be888f8e841264..5a2dc4a8ae8344aa828e4dc24626242000067b22 100644 (file)
@@ -6977,7 +6977,7 @@ EXEC SQL CLOSE cursor_name;
     <title>Compatibility</title>
 
     <para>
-     <command>DECLARE STATEMENT</command> is a extension of the SQL standard,
+     <command>DECLARE STATEMENT</command> is an extension of the SQL standard,
      but can be used in famous DBMSs.
     </para>
    </refsect1>
index 53f78f9c3efd170ff54db148a2d1f29fefcddff3..013236b73dd0ef57d9ad8d6242653d191b7380cd 100644 (file)
@@ -33,7 +33,7 @@
  * All of these arrays should have a length equal to tupleDesc->natts.
  *
  * On return, toast_flags and toast_attr will have been initialized.
- * toast_flags is just a single uint8, but toast_attr is an caller-provided
+ * toast_flags is just a single uint8, but toast_attr is a caller-provided
  * array with a length equal to tupleDesc->natts.  The caller need not
  * perform any initialization of the array before calling this function.
  */
index 07bcdc463a31b150fe2c9fe6b08c4758bdfbc057..5f37bf6d10b41e48ddd8aa013ec3c1ebb429a31f 100644 (file)
@@ -180,7 +180,7 @@ recordMultipleDependencies(const ObjectAddress *depender,
  * Passing false is a guarantee that the object is newly created, and so
  * could not already be a member of any extension.
  *
- * Note: isReplace = true is typically used when updating a object in
+ * Note: isReplace = true is typically used when updating an object in
  * CREATE OR REPLACE and similar commands.  The net effect is that if an
  * extension script uses such a command on a pre-existing free-standing
  * object, the object will be absorbed into the extension.  If the object
index daefb3e1fd9996aa50741930cab2dc075f4971be..f4720732a39d13dc72e1064f70bc3f6338e01a3c 100644 (file)
@@ -84,7 +84,7 @@ llvm_leave_fatal_on_oom(void)
 }
 
 /*
- * Are we currently in an fatal-on-oom section? Useful to skip cleanup in case
+ * Are we currently in a fatal-on-oom section? Useful to skip cleanup in case
  * of errors.
  */
 bool
index 46e66608cf06d88ebe88fd749993d29bb0bea91f..7aa5647a2c644771b2798586207478aa30ad2326 100644 (file)
@@ -452,7 +452,7 @@ ReorderBufferReturnTXN(ReorderBuffer *rb, ReorderBufferTXN *txn)
 }
 
 /*
- * Get an fresh ReorderBufferChange.
+ * Get a fresh ReorderBufferChange.
  */
 ReorderBufferChange *
 ReorderBufferGetChange(ReorderBuffer *rb)
@@ -558,7 +558,7 @@ ReorderBufferGetTupleBuf(ReorderBuffer *rb, Size tuple_len)
 }
 
 /*
- * Free an ReorderBufferTupleBuf.
+ * Free a ReorderBufferTupleBuf.
  */
 void
 ReorderBufferReturnTupleBuf(ReorderBuffer *rb, ReorderBufferTupleBuf *tuple)
@@ -639,7 +639,7 @@ ReorderBufferTXNByXid(ReorderBuffer *rb, TransactionId xid, bool create,
    }
 
    /*
-    * If the cache wasn't hit or it yielded an "does-not-exist" and we want
+    * If the cache wasn't hit or it yielded a "does-not-exist" and we want
     * to create an entry.
     */