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
f10596c3
Commit
f10596c3
authored
Apr 05, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comment that Vadim found confusing.
parent
30928692
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+4
-5
No files found.
src/backend/access/transam/xlog.c
View file @
f10596c3
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.6
4 2001/04/05 09:34:32 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.6
5 2001/04/05 16:55:21 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -2467,6 +2467,7 @@ StartupXLOG(void)
Insert
->
currpage
->
xlp_sui
=
ThisStartUpID
;
else
Insert
->
currpage
->
xlp_sui
=
ThisStartUpID
+
1
;
/* rest of buffer was zeroed in XLOGShmemInit */
}
else
{
...
...
@@ -2475,10 +2476,8 @@ StartupXLOG(void)
((
EndOfLog
.
xrecoff
-
1
)
/
BLCKSZ
+
1
)
*
BLCKSZ
;
/*
* Tricky point here: readBuf contains the *last* block that the
* LastRec record spans, not the one it starts in, which is what we
* want.
*
* XXX - why would we want block LastRec starts in?
* LastRec record spans, not the one it starts in. The last block
* is indeed the one we want to use.
*/
Assert
(
readOff
==
(
XLogCtl
->
xlblocks
[
0
].
xrecoff
-
BLCKSZ
)
%
XLogSegSize
);
memcpy
((
char
*
)
Insert
->
currpage
,
readBuf
,
BLCKSZ
);
...
...
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