mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Fix some typos introduced by the logical decoding patch.
Erik Rijkers
This commit is contained in:
@ -497,7 +497,7 @@ DecodeCommit(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
|
|||||||
|
|
||||||
/* ----
|
/* ----
|
||||||
* Check whether we are interested in this specific transaction, and tell
|
* 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.
|
* if not.
|
||||||
*
|
*
|
||||||
* There basically two reasons we might not be interested in this
|
* 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.
|
* perform the use-case dependent, actual, work.
|
||||||
*
|
*
|
||||||
* Needs to be called while in a memory context that's at least as long lived
|
* 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.
|
* inside it.
|
||||||
*
|
*
|
||||||
* Returns an initialized decoding context after calling the output plugin's
|
* 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.
|
* perform the use-case dependent, actual, work.
|
||||||
*
|
*
|
||||||
* Needs to be called while in a memory context that's at least as long lived
|
* 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.
|
* inside it.
|
||||||
*
|
*
|
||||||
* Returns an initialized decoding context after calling the output plugin's
|
* 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
|
* * A tuple with a cmin but no cmax (and thus no combocid) got
|
||||||
* deleted/updated in another transaction than the one which created it
|
* 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
|
* 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.
|
* need anymore.
|
||||||
*
|
*
|
||||||
* To resolve those problems we have a per-transaction hash of (cmin,
|
* 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
|
* Acquire XidGenLock, so no transactions can acquire an xid while we're
|
||||||
* running. If no transaction with xid were running concurrently a new xid
|
* 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
|
* We initialize the computation to nextXid since that's guaranteed to be
|
||||||
* a safe, albeit pessimal, value.
|
* a safe, albeit pessimal, value.
|
||||||
|
Reference in New Issue
Block a user