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
6d5cba7c
Commit
6d5cba7c
authored
May 29, 2000
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More vacuum cleanup
parent
d950c197
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
247 additions
and
246 deletions
+247
-246
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+228
-227
src/include/commands/vacuum.h
src/include/commands/vacuum.h
+19
-19
No files found.
src/backend/commands/vacuum.c
View file @
6d5cba7c
This diff is collapsed.
Click to expand it.
src/include/commands/vacuum.h
View file @
6d5cba7c
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: vacuum.h,v 1.
29 2000/05/29 16:21:0
5 momjian Exp $
* $Id: vacuum.h,v 1.
30 2000/05/29 17:06:1
5 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -30,29 +30,29 @@ typedef struct VAttListData
typedef
VAttListData
*
VAttList
;
typedef
struct
V
PageDescr
Data
typedef
struct
V
acPage
Data
{
BlockNumber
vpd_
blkno
;
/* BlockNumber of this Page */
Size
vpd_
free
;
/* FreeSpace on this Page */
uint16
vpd_
offsets_used
;
/* Number of OffNums used by
BlockNumber
blkno
;
/* BlockNumber of this Page */
Size
free
;
/* FreeSpace on this Page */
uint16
offsets_used
;
/* Number of OffNums used by
* vacuum */
uint16
vpd_
offsets_free
;
/* Number of OffNums free or to be
uint16
offsets_free
;
/* Number of OffNums free or to be
* free */
OffsetNumber
vpd_
offsets
[
1
];
/* Array of its OffNums */
}
V
PageDescr
Data
;
OffsetNumber
offsets
[
1
];
/* Array of its OffNums */
}
V
acPage
Data
;
typedef
V
PageDescrData
*
VPageDescr
;
typedef
V
acPageData
*
VacPage
;
typedef
struct
VPageListData
typedef
struct
V
ac
PageListData
{
int
vpl_
empty_end_pages
;
/* Number of "empty" end-pages */
int
vpl_num_pages
;
/* Number of pages in vpl_
pagedesc */
int
vpl_
num_allocated_pages
;
/* Number of allocated
* pages in
vpl_
pagedesc */
V
PageDescr
*
vpl_
pagedesc
;
/* Descriptions of pages */
}
VPageListData
;
int
empty_end_pages
;
/* Number of "empty" end-pages */
int
num_pages
;
/* Number of pages in
pagedesc */
int
num_allocated_pages
;
/* Number of allocated
* pages in pagedesc */
V
acPage
*
pagedesc
;
/* Descriptions of pages */
}
V
ac
PageListData
;
typedef
V
PageListData
*
V
PageList
;
typedef
V
acPageListData
*
Vac
PageList
;
typedef
struct
{
...
...
@@ -111,8 +111,8 @@ typedef VTupleLinkData *VTupleLink;
typedef
struct
VTupleMoveData
{
ItemPointerData
tid
;
/* tuple ID */
V
PageDescr
vpd
;
/* where to move */
bool
cleanVpd
;
/* clean v
pd
before using */
V
acPage
vacpage
;
/* where to move */
bool
cleanVpd
;
/* clean v
acpage
before using */
}
VTupleMoveData
;
typedef
VTupleMoveData
*
VTupleMove
;
...
...
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