]> granicus.if.org Git - postgresql/commitdiff
Update outdated commit; xlp_rem_len field is in page header now.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 28 Jun 2012 17:32:31 +0000 (20:32 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 28 Jun 2012 17:35:18 +0000 (20:35 +0300)
Spotted by Amit Kapila

src/backend/access/transam/xlog.c

index 1ea7e9f9969877dee7304207694786052c964c0c..72c6e2061fabdc34163e72f084024b3b18c7b9bd 100644 (file)
@@ -1091,7 +1091,7 @@ begin:;
                /* Use next buffer */
                updrqst = AdvanceXLInsertBuffer(false);
                curridx = Insert->curridx;
-               /* Insert cont-record header */
+               /* Mark page header to indicate this record continues on the page */
                Insert->currpage->xlp_info |= XLP_FIRST_IS_CONTRECORD;
                Insert->currpage->xlp_rem_len = write_len;
                freespace = INSERT_FREESPACE(Insert);