]> granicus.if.org Git - postgresql/blobdiff - src/backend/access/transam/clog.c
Fix initialization of fake LSN for unlogged relations
[postgresql] / src / backend / access / transam / clog.c
index d78f706ff7f51fa2b0a3d204c72e7eec89fb8647..595c860aaaf9d070572fb3998c05dbfd9116fdc9 100644 (file)
@@ -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,
@@ -891,7 +891,7 @@ ExtendCLOG(TransactionId newestXact)
  * Remove all CLOG segments before the one holding the passed transaction ID
  *
  * Before removing any CLOG data, we must flush XLOG to disk, to ensure
- * that any recently-emitted HEAP_FREEZE records have reached disk; otherwise
+ * that any recently-emitted FREEZE_PAGE records have reached disk; otherwise
  * a crash and restart might leave us with some unfrozen tuples referencing
  * removed CLOG data.  We choose to emit a special TRUNCATE XLOG record too.
  * Replaying the deletion from XLOG is not critical, since the files could