From: Heikki Linnakangas Date: Thu, 28 Jun 2012 17:32:31 +0000 (+0300) Subject: Update outdated commit; xlp_rem_len field is in page header now. X-Git-Tag: REL9_3_BETA1~1279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f85667a860437c50ae13008cad5359909388d3e;p=postgresql Update outdated commit; xlp_rem_len field is in page header now. Spotted by Amit Kapila --- 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);