Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a4ad9afe
Commit
a4ad9afe
authored
Apr 23, 2014
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update obsolete comments.
We no longer have a TLI field in the page header.
parent
4a781f1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam.c
+2
-2
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtinsert.c
+3
-3
No files found.
src/backend/access/heap/heapam.c
View file @
a4ad9afe
...
...
@@ -6974,8 +6974,8 @@ log_newpage(RelFileNode *rnode, ForkNumber forkNum, BlockNumber blkno,
recptr
=
XLogInsert
(
RM_HEAP_ID
,
XLOG_HEAP_NEWPAGE
,
rdata
);
/*
* The page may be uninitialized. If so, we can't set the LSN
and TLI
*
because
that would corrupt the page.
* The page may be uninitialized. If so, we can't set the LSN
because
* that would corrupt the page.
*/
if
(
!
PageIsNew
(
page
))
{
...
...
src/backend/access/nbtree/nbtinsert.c
View file @
a4ad9afe
...
...
@@ -996,9 +996,9 @@ _bt_split(Relation rel, Buffer buf, Buffer cbuf, OffsetNumber firstright,
/* rightpage was already initialized by _bt_getbuf */
/*
* Copy the original page's LSN
and TLI into leftpage, which will becom
e
*
the
updated version of the page. We need this because XLogInsert will
* examine the
se fields and possibly dump them
in a page image.
* Copy the original page's LSN
into leftpage, which will become th
e
* updated version of the page. We need this because XLogInsert will
* examine the
LSN and possibly dump it
in a page image.
*/
PageSetLSN
(
leftpage
,
PageGetLSN
(
origpage
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment