mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-13 19:57:53 +08:00
Fix some typos introduced by the logical decoding patch.
Erik Rijkers
This commit is contained in:
parent
97e899e1b8
commit
406a1a9ef0
@ -497,7 +497,7 @@ DecodeCommit(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
|
||||
|
||||
/* ----
|
||||
* Check whether we are interested in this specific transaction, and tell
|
||||
* the the reorderbuffer to forget the content of the (sub-)transactions
|
||||
* the reorderbuffer to forget the content of the (sub-)transactions
|
||||
* if not.
|
||||
*
|
||||
* There basically two reasons we might not be interested in this
|
||||
|
@ -179,7 +179,7 @@ StartupDecodingContext(List *output_plugin_options,
|
||||
* perform the use-case dependent, actual, work.
|
||||
*
|
||||
* Needs to be called while in a memory context that's at least as long lived
|
||||
* as the the decoding context because further memory contexts will be created
|
||||
* as the decoding context because further memory contexts will be created
|
||||
* inside it.
|
||||
*
|
||||
* Returns an initialized decoding context after calling the output plugin's
|
||||
@ -334,7 +334,7 @@ CreateInitDecodingContext(char *plugin,
|
||||
* perform the use-case dependent, actual, work.
|
||||
*
|
||||
* Needs to be called while in a memory context that's at least as long lived
|
||||
* as the the decoding context because further memory contexts will be created
|
||||
* as the decoding context because further memory contexts will be created
|
||||
* inside it.
|
||||
*
|
||||
* Returns an initialized decoding context after calling the output plugin's
|
||||
|
@ -2741,7 +2741,7 @@ ReorderBufferToastReset(ReorderBuffer *rb, ReorderBufferTXN *txn)
|
||||
* * A tuple with a cmin but no cmax (and thus no combocid) got
|
||||
* deleted/updated in another transaction than the one which created it
|
||||
* which we are looking at right now. As only one of cmin, cmax or combocid
|
||||
* is actually stored in the heap we don't have access to the the value we
|
||||
* is actually stored in the heap we don't have access to the value we
|
||||
* need anymore.
|
||||
*
|
||||
* To resolve those problems we have a per-transaction hash of (cmin,
|
||||
|
@ -1948,7 +1948,7 @@ GetOldestSafeDecodingTransactionId(void)
|
||||
/*
|
||||
* Acquire XidGenLock, so no transactions can acquire an xid while we're
|
||||
* running. If no transaction with xid were running concurrently a new xid
|
||||
* could influence the the RecentXmin et al.
|
||||
* could influence the RecentXmin et al.
|
||||
*
|
||||
* We initialize the computation to nextXid since that's guaranteed to be
|
||||
* a safe, albeit pessimal, value.
|
||||
|
Loading…
x
Reference in New Issue
Block a user