mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Initial pgindent and pgperltidy run for v13.
Includes some manual cleanup of places that pgindent messed up,
most of which weren't per project style anyway.
Notably, it seems some people didn't absorb the style rules of
commit c9d297751
, because there were a bunch of new occurrences
of function calls with a newline just after the left paren, all
with faulty expectations about how the rest of the call would get
indented.
This commit is contained in:
@ -1595,9 +1595,9 @@ RestoreBlockImage(XLogReaderState *record, uint8 block_id, char *page)
|
||||
FullTransactionId
|
||||
XLogRecGetFullXid(XLogReaderState *record)
|
||||
{
|
||||
TransactionId xid,
|
||||
next_xid;
|
||||
uint32 epoch;
|
||||
TransactionId xid,
|
||||
next_xid;
|
||||
uint32 epoch;
|
||||
|
||||
/*
|
||||
* This function is only safe during replay, because it depends on the
|
||||
@ -1610,8 +1610,8 @@ XLogRecGetFullXid(XLogReaderState *record)
|
||||
epoch = EpochFromFullTransactionId(ShmemVariableCache->nextFullXid);
|
||||
|
||||
/*
|
||||
* If xid is numerically greater than next_xid, it has to be from the
|
||||
* last epoch.
|
||||
* If xid is numerically greater than next_xid, it has to be from the last
|
||||
* epoch.
|
||||
*/
|
||||
if (unlikely(xid > next_xid))
|
||||
--epoch;
|
||||
|
Reference in New Issue
Block a user