Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7111e33

Browse files
Fix duplicate words in comments
Remove accidentally duplicated words in code comments. Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/87bl45t0co.fsf@wibble.ilmari.org
1 parent e9bc044 commit 7111e33

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/backend/access/transam/parallel.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ ParallelWorkerReportLastRecEnd(XLogRecPtr last_xlog_end)
15341534
*
15351535
* Also explicitly detach from dsm segment so that subsystems using
15361536
* on_dsm_detach() have a chance to send stats before the stats subsystem is
1537-
* shut down as as part of a before_shmem_exit() hook.
1537+
* shut down as part of a before_shmem_exit() hook.
15381538
*
15391539
* One might think this could instead be solved by carefully ordering the
15401540
* attaching to dsm segments, so that the pgstats segments get detached from

src/backend/catalog/heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3547,7 +3547,7 @@ heap_truncate_find_FKs(List *relationIds)
35473547
/*
35483548
* If this constraint has a parent constraint which we have not seen
35493549
* yet, keep track of it for the second loop, below. Tracking parent
3550-
* constraints allows us to climb up to the top-level level constraint
3550+
* constraints allows us to climb up to the top-level constraint
35513551
* and look for all possible relations referencing the partitioned
35523552
* table.
35533553
*/

src/backend/commands/copyfromparse.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* the data is valid in the current encoding.
3838
*
3939
* In binary mode, the pipeline is much simpler. Input is loaded into
40-
* into 'raw_buf', and encoding conversion is done in the datatype-specific
40+
* 'raw_buf', and encoding conversion is done in the datatype-specific
4141
* receive functions, if required. 'input_buf' and 'line_buf' are not used,
4242
* but 'attribute_buf' is used as a temporary buffer to hold one attribute's
4343
* data when it's passed the receive function.

src/backend/partitioning/partdesc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ RelationGetPartitionDesc(Relation rel, bool omit_detached)
9191
* cached descriptor too. We determine that based on the pg_inherits.xmin
9292
* that was saved alongside that descriptor: if the xmin that was not in
9393
* progress for that active snapshot is also not in progress for the
94-
* current active snapshot, then we can use use it. Otherwise build one
94+
* current active snapshot, then we can use it. Otherwise build one
9595
* from scratch.
9696
*/
9797
if (omit_detached &&

src/backend/storage/buffer/bufmgr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ ReadRecentBuffer(RelFileNode rnode, ForkNumber forkNum, BlockNumber blockNum,
666666
{
667667
/*
668668
* It's now safe to pin the buffer. We can't pin first and ask
669-
* questions later, because because it might confuse code paths
669+
* questions later, because it might confuse code paths
670670
* like InvalidateBuffer() if we pinned a random non-matching
671671
* buffer.
672672
*/

src/backend/storage/ipc/standby.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ InitRecoveryTransactionEnvironment(void)
130130
*
131131
* This must be called even in shutdown of startup process if transaction
132132
* tracking has been initialized. Otherwise some locks the tracked
133-
* transactions were holding will not be released and and may interfere with
133+
* transactions were holding will not be released and may interfere with
134134
* the processes still running (but will exit soon later) at the exit of
135135
* startup process.
136136
*/

src/include/access/tableam.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ typedef struct TM_FailureData
157157
* work, too. This is a little like bottom-up deletion, but not too much.
158158
* The tableam will only perform speculative work when it's practically free
159159
* to do so in passing for simple deletion caller (while always performing
160-
* whatever work is is needed to enable knowndeletable/LP_DEAD index tuples to
160+
* whatever work is needed to enable knowndeletable/LP_DEAD index tuples to
161161
* be deleted within index AM). This is the real reason why it's possible for
162162
* simple index deletion caller to specify knowndeletable = false up front
163163
* (this means "check if it's possible for me to delete corresponding index

0 commit comments

Comments
 (0)