mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Update outdated commit; xlp_rem_len field is in page header now.
Spotted by Amit Kapila
This commit is contained in:
@ -1091,7 +1091,7 @@ begin:;
|
|||||||
/* Use next buffer */
|
/* Use next buffer */
|
||||||
updrqst = AdvanceXLInsertBuffer(false);
|
updrqst = AdvanceXLInsertBuffer(false);
|
||||||
curridx = Insert->curridx;
|
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_info |= XLP_FIRST_IS_CONTRECORD;
|
||||||
Insert->currpage->xlp_rem_len = write_len;
|
Insert->currpage->xlp_rem_len = write_len;
|
||||||
freespace = INSERT_FREESPACE(Insert);
|
freespace = INSERT_FREESPACE(Insert);
|
||||||
|
Reference in New Issue
Block a user