mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Initial pgindent and pgperltidy run for v14.
Also "make reformat-dat-files". The only change worthy of note is that pgindent messed up the formatting of launcher.c's struct LogicalRepWorkerId, which led me to notice that that struct wasn't used at all anymore, so I just took it out.
This commit is contained in:
@@ -1608,8 +1608,8 @@ HeapTupleSatisfiesHistoricMVCC(HeapTuple htup, Snapshot snapshot,
|
||||
|
||||
/*
|
||||
* another transaction might have (tried to) delete this tuple or
|
||||
* cmin/cmax was stored in a combo CID. So we need to lookup the actual
|
||||
* values externally.
|
||||
* cmin/cmax was stored in a combo CID. So we need to lookup the
|
||||
* actual values externally.
|
||||
*/
|
||||
resolved = ResolveCminCmaxDuringDecoding(HistoricSnapshotGetTupleCids(), snapshot,
|
||||
htup, buffer,
|
||||
@@ -1629,8 +1629,8 @@ HeapTupleSatisfiesHistoricMVCC(HeapTuple htup, Snapshot snapshot,
|
||||
* elog inside ResolveCminCmaxDuringDecoding.
|
||||
*
|
||||
* XXX For the streaming case, we can track the largest combo CID
|
||||
* assigned, and error out based on this (when unable to resolve
|
||||
* combo CID below that observed maximum value).
|
||||
* assigned, and error out based on this (when unable to resolve combo
|
||||
* CID below that observed maximum value).
|
||||
*/
|
||||
if (!resolved)
|
||||
return false;
|
||||
@@ -1717,8 +1717,8 @@ HeapTupleSatisfiesHistoricMVCC(HeapTuple htup, Snapshot snapshot,
|
||||
* elog inside ResolveCminCmaxDuringDecoding.
|
||||
*
|
||||
* XXX For the streaming case, we can track the largest combo CID
|
||||
* assigned, and error out based on this (when unable to resolve
|
||||
* combo CID below that observed maximum value).
|
||||
* assigned, and error out based on this (when unable to resolve combo
|
||||
* CID below that observed maximum value).
|
||||
*/
|
||||
if (!resolved || cmax == InvalidCommandId)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user