Remove duplicate words in docs and code comments.

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
This commit is contained in:
Amit Kapila 2023-10-09 09:18:47 +05:30
parent d8a295389b
commit 7cc2f59dd5
11 changed files with 14 additions and 14 deletions

View 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)

View 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.

View 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.

View 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.

View 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>

View 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>

View 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 ||

View 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)
{

View 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.

View 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
--------------------

View 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;