aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-06-28 20:32:31 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-06-28 20:35:18 +0300
commit8f85667a860437c50ae13008cad5359909388d3e (patch)
tree5d40e488cc0cc134763345a554b21b56def821a9 /src/backend/access/transam/xlog.c
parentdcd5af6c3498a265053aa3292d41c3946e225627 (diff)
downloadpostgresql-8f85667a860437c50ae13008cad5359909388d3e.tar.gz
postgresql-8f85667a860437c50ae13008cad5359909388d3e.zip
Update outdated commit; xlp_rem_len field is in page header now.
Spotted by Amit Kapila
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 1ea7e9f9969..72c6e2061fa 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);