git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a82bc6)
Fix bogus comments in XLogRecordAssemble
2014年11月21日 10:13:10 +0000 (12:13 +0200)
2014年11月21日 10:15:27 +0000 (12:15 +0200)
Pointed out by Michael Paquier


diff --git a/src/backend/access/transam/xloginsert.c b/src/backend/access/transam/xloginsert.c
index 89c407e521bed5f01502364914e1f403b7db5cd1..fe2043130241b041b64372f38b08eb567b79b53b 100644 (file)
--- a/src/backend/access/transam/xloginsert.c
+++ b/src/backend/access/transam/xloginsert.c
@@ -435,12 +435,12 @@ XLogInsert(RmgrId rmid, uint8 info)
* XLogRecData chain, ready for insertion with XLogInsertRecord().
*
* The record header fields are filled in, except for the xl_prev field. The
- * calculated CRC does not include xl_prev either.
+ * calculated CRC does not include the record header yet.
*
* If there are any registered buffers, and a full-page image was not taken
- * of all them, *page_writes_omitted is set to true. This signals that the
- * assembled record is only good for insertion on the assumption that the
- * RedoRecPtr and doPageWrites values were up-to-date.
+ * of all of them, *fpw_lsn is set to the lowest LSN among such pages. This
+ * signals that the assembled record is only good for insertion on the
+ * assumption that the RedoRecPtr and doPageWrites values were up-to-date.
*/
static XLogRecData *
XLogRecordAssemble(RmgrId rmid, uint8 info,
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /