Skip to content

Commit 406a1a9

Browse files
committed
Fix some typos introduced by the logical decoding patch.
Erik Rijkers
1 parent 97e899e commit 406a1a9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/backend/replication/logical/decode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ DecodeCommit(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
497497

498498
/* ----
499499
* Check whether we are interested in this specific transaction, and tell
500-
* the the reorderbuffer to forget the content of the (sub-)transactions
500+
* the reorderbuffer to forget the content of the (sub-)transactions
501501
* if not.
502502
*
503503
* There basically two reasons we might not be interested in this

src/backend/replication/logical/logical.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ StartupDecodingContext(List *output_plugin_options,
179179
* perform the use-case dependent, actual, work.
180180
*
181181
* Needs to be called while in a memory context that's at least as long lived
182-
* as the the decoding context because further memory contexts will be created
182+
* as the decoding context because further memory contexts will be created
183183
* inside it.
184184
*
185185
* Returns an initialized decoding context after calling the output plugin's
@@ -334,7 +334,7 @@ CreateInitDecodingContext(char *plugin,
334334
* perform the use-case dependent, actual, work.
335335
*
336336
* Needs to be called while in a memory context that's at least as long lived
337-
* as the the decoding context because further memory contexts will be created
337+
* as the decoding context because further memory contexts will be created
338338
* inside it.
339339
*
340340
* Returns an initialized decoding context after calling the output plugin's

src/backend/replication/logical/reorderbuffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2741,7 +2741,7 @@ ReorderBufferToastReset(ReorderBuffer *rb, ReorderBufferTXN *txn)
27412741
* * A tuple with a cmin but no cmax (and thus no combocid) got
27422742
* deleted/updated in another transaction than the one which created it
27432743
* which we are looking at right now. As only one of cmin, cmax or combocid
2744-
* is actually stored in the heap we don't have access to the the value we
2744+
* is actually stored in the heap we don't have access to the value we
27452745
* need anymore.
27462746
*
27472747
* To resolve those problems we have a per-transaction hash of (cmin,

src/backend/storage/ipc/procarray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,7 @@ GetOldestSafeDecodingTransactionId(void)
19481948
/*
19491949
* Acquire XidGenLock, so no transactions can acquire an xid while we're
19501950
* running. If no transaction with xid were running concurrently a new xid
1951-
* could influence the the RecentXmin et al.
1951+
* could influence the RecentXmin et al.
19521952
*
19531953
* We initialize the computation to nextXid since that's guaranteed to be
19541954
* a safe, albeit pessimal, value.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy