Skip to content

Commit 7cc2f59

Browse files
author
Amit Kapila
committed
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
1 parent d8a2953 commit 7cc2f59

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

Diff for: .cirrus.star

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def main():
4646

4747
def config_from(config_src):
4848
"""return contents of config file `config_src`, surrounded by markers
49-
indicating start / end of the the included file
49+
indicating start / end of the included file
5050
"""
5151

5252
config_contents = fs.read(config_src)

Diff for: contrib/citext/expected/citext_utf8.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This test must be run in a database with UTF-8 encoding
33
* and a Unicode-aware locale.
44
*
5-
* Also disable this file for ICU, because the test for the the
5+
* Also disable this file for ICU, because the test for the
66
* Turkish dotted I is not correct for many ICU locales. citext always
77
* uses the default collation, so it's not easy to restrict the test
88
* to the "tr-TR-x-icu" collation where it will succeed.

Diff for: contrib/citext/expected/citext_utf8_1.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This test must be run in a database with UTF-8 encoding
33
* and a Unicode-aware locale.
44
*
5-
* Also disable this file for ICU, because the test for the the
5+
* Also disable this file for ICU, because the test for the
66
* Turkish dotted I is not correct for many ICU locales. citext always
77
* uses the default collation, so it's not easy to restrict the test
88
* to the "tr-TR-x-icu" collation where it will succeed.

Diff for: contrib/citext/sql/citext_utf8.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This test must be run in a database with UTF-8 encoding
33
* and a Unicode-aware locale.
44
*
5-
* Also disable this file for ICU, because the test for the the
5+
* Also disable this file for ICU, because the test for the
66
* Turkish dotted I is not correct for many ICU locales. citext always
77
* uses the default collation, so it's not easy to restrict the test
88
* to the "tr-TR-x-icu" collation where it will succeed.

Diff for: doc/src/sgml/logical-replication.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
17881788
</para>
17891789

17901790
<para>
1791-
To create a subscription, the user must have the privileges of the
1791+
To create a subscription, the user must have the privileges of
17921792
the <literal>pg_create_subscription</literal> role, as well as
17931793
<literal>CREATE</literal> privileges on the database.
17941794
</para>

Diff for: doc/src/sgml/ref/create_subscription.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
5151
</para>
5252

5353
<para>
54-
To be able to create a subscription, you must have the privileges of the
54+
To be able to create a subscription, you must have the privileges of
5555
the <literal>pg_create_subscription</literal> role, as well as
5656
<literal>CREATE</literal> privileges on the current database.
5757
</para>

Diff for: src/backend/access/nbtree/nbtsearch.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ _bt_readpage(IndexScanDesc scan, ScanDirection dir, OffsetNumber offnum)
16641664

16651665
/*
16661666
* If the result of prechecking required keys was true, then in
1667-
* assert-enabled builds we also recheck that _bt_checkkeys()
1667+
* assert-enabled builds we also recheck that the _bt_checkkeys()
16681668
* result is the same.
16691669
*/
16701670
Assert(!requiredMatchedByPrecheck ||
@@ -1783,7 +1783,7 @@ _bt_readpage(IndexScanDesc scan, ScanDirection dir, OffsetNumber offnum)
17831783

17841784
/*
17851785
* If the result of prechecking required keys was true, then in
1786-
* assert-enabled builds we also recheck that _bt_checkkeys()
1786+
* assert-enabled builds we also recheck that the _bt_checkkeys()
17871787
* result is the same.
17881788
*/
17891789
Assert(!requiredMatchedByPrecheck ||

Diff for: src/backend/access/transam/xlogreader.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ XLogDecodeNextRecord(XLogReaderState *state, bool nonblocking)
846846

847847
/*
848848
* If we got here without a DecodedXLogRecord, it means we needed to
849-
* validate total_len before trusting it, but by now now we've done that.
849+
* validate total_len before trusting it, but by now we've done that.
850850
*/
851851
if (decoded == NULL)
852852
{

Diff for: src/backend/executor/nodeHashjoin.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ ExecParallelHashJoinNewBatch(HashJoinState *hjstate)
13061306
* The data recorded in the file for each tuple is its hash value,
13071307
* then the tuple in MinimalTuple format.
13081308
*
1309-
* fileptr points to a batch file in one of the the hashtable arrays.
1309+
* fileptr points to a batch file in one of the hashtable arrays.
13101310
*
13111311
* The batch files (and their buffers) are allocated in the spill context
13121312
* created for the hashtable.

Diff for: src/test/regress/expected/tuplesort.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ FETCH NEXT FROM c;
401401
00000000-0000-0000-0000-000000000000
402402
(1 row)
403403

404-
-- scroll beyond end end
404+
-- scroll beyond end
405405
FETCH LAST FROM c;
406406
noabort_decreasing
407407
--------------------
@@ -498,7 +498,7 @@ FETCH NEXT FROM c;
498498
00000000-0000-0000-0000-000000000000
499499
(1 row)
500500

501-
-- scroll beyond end end
501+
-- scroll beyond end
502502
FETCH LAST FROM c;
503503
noabort_decreasing
504504
--------------------

Diff for: src/test/regress/sql/tuplesort.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ FETCH BACKWARD FROM c;
169169
FETCH BACKWARD FROM c;
170170
FETCH NEXT FROM c;
171171

172-
-- scroll beyond end end
172+
-- scroll beyond end
173173
FETCH LAST FROM c;
174174
FETCH BACKWARD FROM c;
175175
FETCH NEXT FROM c;
@@ -200,7 +200,7 @@ FETCH BACKWARD FROM c;
200200
FETCH BACKWARD FROM c;
201201
FETCH NEXT FROM c;
202202

203-
-- scroll beyond end end
203+
-- scroll beyond end
204204
FETCH LAST FROM c;
205205
FETCH BACKWARD FROM c;
206206
FETCH NEXT FROM c;

0 commit comments

Comments
 (0)