mirror of
https://github.com/postgres/postgres.git
synced 2025-12-01 12:18:01 +03:00
Fix inconsistencies and typos in the tree, take 9
This addresses more issues with code comments, variable names and unreferenced variables. Author: Alexander Lakhin Discussion: https://postgr.es/m/7ab243e0-116d-3e44-d120-76b3df7abefd@gmail.com
This commit is contained in:
@@ -530,7 +530,7 @@ void XLogResetInsertion(void)
|
||||
construction workspace. This is only needed if you have already called
|
||||
XLogBeginInsert(), but decide to not insert the record after all.
|
||||
|
||||
void XLogEnsureRecordSpace(int max_block_id, int nrdatas)
|
||||
void XLogEnsureRecordSpace(int max_block_id, int ndatas)
|
||||
|
||||
Normally, the WAL record construction buffers have the following limits:
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ static int ZeroCLOGPage(int pageno, bool writeXlog);
|
||||
static bool CLOGPagePrecedes(int page1, int page2);
|
||||
static void WriteZeroPageXlogRec(int pageno);
|
||||
static void WriteTruncateXlogRec(int pageno, TransactionId oldestXact,
|
||||
Oid oldestXidDb);
|
||||
Oid oldestXactDb);
|
||||
static void TransactionIdSetPageStatus(TransactionId xid, int nsubxids,
|
||||
TransactionId *subxids, XidStatus status,
|
||||
XLogRecPtr lsn, int pageno,
|
||||
|
||||
@@ -282,7 +282,7 @@ typedef struct MultiXactStateData
|
||||
} MultiXactStateData;
|
||||
|
||||
/*
|
||||
* Last element of OldestMemberMXactID and OldestVisibleMXactId arrays.
|
||||
* Last element of OldestMemberMXactId and OldestVisibleMXactId arrays.
|
||||
* Valid elements are (1..MaxOldestSlot); element 0 is never used.
|
||||
*/
|
||||
#define MaxOldestSlot (MaxBackends + max_prepared_xacts)
|
||||
|
||||
Reference in New Issue
Block a user