Remove duplicate words in docs and code comments.
authorAmit Kapila <akapila@postgresql.org>
Mon, 9 Oct 2023 03:48:47 +0000 (09:18 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 9 Oct 2023 03:48:47 +0000 (09:18 +0530)
Additionally, add a missing "the" in a couple of places.

Author: Vignesh C, Dagfinn Ilmari MannsÃ¥ker
Discussion: http://postgr.es/m/CALDaNm28t+wWyPfuyqEaARS810Je=dRFkaPertaLAEJYY2cWYQ@mail.gmail.com

.cirrus.star
contrib/citext/expected/citext_utf8.out
contrib/citext/expected/citext_utf8_1.out
contrib/citext/sql/citext_utf8.sql
doc/src/sgml/logical-replication.sgml
doc/src/sgml/ref/create_subscription.sgml
src/backend/access/nbtree/nbtsearch.c
src/backend/access/transam/xlogreader.c
src/backend/executor/nodeHashjoin.c
src/test/regress/expected/tuplesort.out
src/test/regress/sql/tuplesort.sql

index d2d6ceca2075d448fad88cb59f305f81c4270503..36233872d1e50837dfa3260ad77c3a63fb93ce43 100644 (file)
@@ -46,7 +46,7 @@ def main():
 
 def config_from(config_src):
     """return contents of config file `config_src`, surrounded by markers
-    indicating start / end of the the included file
+    indicating start / end of the included file
     """
 
     config_contents = fs.read(config_src)
index 6630e09a4de9570b23e0044895acfe89700b5841..5d988dcd485dd1cb273f5d0a595307c886000e3a 100644 (file)
@@ -2,7 +2,7 @@
  * This test must be run in a database with UTF-8 encoding
  * and a Unicode-aware locale.
  *
- * Also disable this file for ICU, because the test for the the
+ * Also disable this file for ICU, because the test for the
  * Turkish dotted I is not correct for many ICU locales. citext always
  * uses the default collation, so it's not easy to restrict the test
  * to the "tr-TR-x-icu" collation where it will succeed.
index 3caa7a00d4224e90594378057e051dbe6149b1da..7065a5da190afc4e337de44fbdfa94812fe25c31 100644 (file)
@@ -2,7 +2,7 @@
  * This test must be run in a database with UTF-8 encoding
  * and a Unicode-aware locale.
  *
- * Also disable this file for ICU, because the test for the the
+ * Also disable this file for ICU, because the test for the
  * Turkish dotted I is not correct for many ICU locales. citext always
  * uses the default collation, so it's not easy to restrict the test
  * to the "tr-TR-x-icu" collation where it will succeed.
index 1f51df134bf6868b2813e8082975e64e9588bca8..34b232d64e2a0c16ffaeffdd175ecb1831194a5a 100644 (file)
@@ -2,7 +2,7 @@
  * This test must be run in a database with UTF-8 encoding
  * and a Unicode-aware locale.
  *
- * Also disable this file for ICU, because the test for the the
+ * Also disable this file for ICU, because the test for the
  * Turkish dotted I is not correct for many ICU locales. citext always
  * uses the default collation, so it's not easy to restrict the test
  * to the "tr-TR-x-icu" collation where it will succeed.
index fbf8ad669e4fcad0cca99d74d8bfcff466ac4cec..3b2fa1129e281f8b00c383b03181fd4a6da93faf 100644 (file)
@@ -1788,7 +1788,7 @@ CONTEXT:  processing remote data for replication origin "pg_16395" during "INSER
   </para>
 
   <para>
-   To create a subscription, the user must have the privileges of the
+   To create a subscription, the user must have the privileges of
    the <literal>pg_create_subscription</literal> role, as well as
    <literal>CREATE</literal> privileges on the database.
   </para>
index 71652fd9188cd51127423f2759b2b34355654393..c1bafbfa06ae2a4a548c0df8106e6ed55063086c 100644 (file)
@@ -51,7 +51,7 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
   </para>
 
   <para>
-   To be able to create a subscription, you must have the privileges of the
+   To be able to create a subscription, you must have the privileges of
    the <literal>pg_create_subscription</literal> role, as well as
    <literal>CREATE</literal> privileges on the current database.
   </para>
index 72b052b24911637b9e4596836fe184d2ecc41041..efc5284e5b12fe4b8890c96b9d5de42074be0205 100644 (file)
@@ -1664,7 +1664,7 @@ _bt_readpage(IndexScanDesc scan, ScanDirection dir, OffsetNumber offnum)
 
            /*
             * If the result of prechecking required keys was true, then in
-            * assert-enabled builds we also recheck that _bt_checkkeys()
+            * assert-enabled builds we also recheck that the _bt_checkkeys()
             * result is the same.
             */
            Assert(!requiredMatchedByPrecheck ||
@@ -1783,7 +1783,7 @@ _bt_readpage(IndexScanDesc scan, ScanDirection dir, OffsetNumber offnum)
 
            /*
             * If the result of prechecking required keys was true, then in
-            * assert-enabled builds we also recheck that _bt_checkkeys()
+            * assert-enabled builds we also recheck that the _bt_checkkeys()
             * result is the same.
             */
            Assert(!requiredMatchedByPrecheck ||
index a1363e3b8f3bf9df6c034c18c701d9997e827064..e0baa86bd3fcd5b320a24ea6be1ead35069c73fb 100644 (file)
@@ -846,7 +846,7 @@ restart:
 
    /*
     * If we got here without a DecodedXLogRecord, it means we needed to
-    * validate total_len before trusting it, but by now now we've done that.
+    * validate total_len before trusting it, but by now we've done that.
     */
    if (decoded == NULL)
    {
index aea44a9d566aae918cf138a74f46a952b8a5aeb6..25a2d78f157d55a98a26d88217ad339e4e12cb4d 100644 (file)
@@ -1306,7 +1306,7 @@ ExecParallelHashJoinNewBatch(HashJoinState *hjstate)
  * The data recorded in the file for each tuple is its hash value,
  * then the tuple in MinimalTuple format.
  *
- * fileptr points to a batch file in one of the the hashtable arrays.
+ * fileptr points to a batch file in one of the hashtable arrays.
  *
  * The batch files (and their buffers) are allocated in the spill context
  * created for the hashtable.
index a2efa179fc19107e029d7ce74c9c7f2ece668100..0e8b5bf4a393359891c84d72d621b3fc2cf75b4f 100644 (file)
@@ -401,7 +401,7 @@ FETCH NEXT FROM c;
  00000000-0000-0000-0000-000000000000
 (1 row)
 
--- scroll beyond end end
+-- scroll beyond end
 FETCH LAST FROM c;
  noabort_decreasing 
 --------------------
@@ -498,7 +498,7 @@ FETCH NEXT FROM c;
  00000000-0000-0000-0000-000000000000
 (1 row)
 
--- scroll beyond end end
+-- scroll beyond end
 FETCH LAST FROM c;
  noabort_decreasing 
 --------------------
index 846484d5612fbe54ef361aba8d269acc766d669d..658fe98dc56fbcd9a077d54856a30f36d0c8c214 100644 (file)
@@ -169,7 +169,7 @@ FETCH BACKWARD FROM c;
 FETCH BACKWARD FROM c;
 FETCH NEXT FROM c;
 
--- scroll beyond end end
+-- scroll beyond end
 FETCH LAST FROM c;
 FETCH BACKWARD FROM c;
 FETCH NEXT FROM c;
@@ -200,7 +200,7 @@ FETCH BACKWARD FROM c;
 FETCH BACKWARD FROM c;
 FETCH NEXT FROM c;
 
--- scroll beyond end end
+-- scroll beyond end
 FETCH LAST FROM c;
 FETCH BACKWARD FROM c;
 FETCH NEXT FROM c;