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
202e523d
Commit
202e523d
authored
May 09, 1999
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mistyping by me.
Fixed by Hiroshi.
parent
3c6491ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+3
-3
No files found.
src/backend/commands/vacuum.c
View file @
202e523d
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.10
0 1999/05/01 19:09:46 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.10
1 1999/05/09 14:00:29 vadim
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1350,7 +1350,7 @@ vc_rpfheap(VRelStats *vacrelstats, Relation onerel,
*/
ToPage
=
BufferGetPage
(
cur_buffer
);
/* if this page was not used before - clean it */
if
(
!
PageIsEmpty
(
ToPage
)
&&
vtmove
[
i
].
cleanVpd
)
if
(
!
PageIsEmpty
(
ToPage
)
&&
vtmove
[
t
i
].
cleanVpd
)
vc_vacpage
(
ToPage
,
vtmove
[
ti
].
vpd
);
heap_copytuple_with_tuple
(
&
tuple
,
&
newtup
);
RelationInvalidateHeapTuple
(
onerel
,
&
tuple
);
...
...
@@ -1369,7 +1369,7 @@ moving chain: failed to add item with len = %u to page %u",
newitemid
=
PageGetItemId
(
ToPage
,
newoff
);
pfree
(
newtup
.
t_data
);
newtup
.
t_data
=
(
HeapTupleHeader
)
PageGetItem
(
ToPage
,
newitemid
);
ItemPointerSet
(
&
(
newtup
.
t_self
),
vtmove
[
i
].
vpd
->
vpd_blkno
,
newoff
);
ItemPointerSet
(
&
(
newtup
.
t_self
),
vtmove
[
t
i
].
vpd
->
vpd_blkno
,
newoff
);
/*
* Set t_ctid pointing to itself for last tuple in
* chain and to next tuple in chain otherwise.
...
...
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