projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd5af6
)
Update outdated commit; xlp_rem_len field is in page header now.
author
Heikki Linnakangas
Thu, 28 Jun 2012 17:32:31 +0000
(20:32 +0300)
committer
Heikki Linnakangas
Thu, 28 Jun 2012 17:35:18 +0000
(20:35 +0300)
Spotted by Amit Kapila
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 1ea7e9f9969877dee7304207694786052c964c0c..72c6e2061fabdc34163e72f084024b3b18c7b9bd 100644
(file)
--- 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);