From 8f85667a860437c50ae13008cad5359909388d3e Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 28 Jun 2012 20:32:31 +0300 Subject: [PATCH] Update outdated commit; xlp_rem_len field is in page header now. Spotted by Amit Kapila --- src/backend/access/transam/xlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 1ea7e9f996..72c6e2061f 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -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); -- 2.40.0