Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita38365e

Browse files
committed
New structures for new vacuum.
1 parent948720e commita38365e

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

‎src/include/commands/vacuum.h

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: vacuum.h,v 1.2 1996/10/18 08:15:58 vadim Exp $
9+
* $Id: vacuum.h,v 1.3 1996/11/27 07:35:06 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -21,19 +21,26 @@ typedef struct VAttListData {
2121
typedefVAttListData*VAttList;
2222

2323
typedefstructVPageDescrData {
24-
BlockNumbervpd_blkno;/* BlockNumber of this Page */
25-
Sizevpd_free;/* FreeSpace on this Page */
26-
uint16vpd_noff;/* Number of dead tids */
27-
OffsetNumbervpd_voff[1];/* Array of its OffNums */
24+
BlockNumbervpd_blkno;/* BlockNumber of this Page */
25+
Sizevpd_free;/* FreeSpace on this Page */
26+
uint16vpd_nusd;/* Number of OffNums used by vacuum */
27+
uint16vpd_noff;/* Number of OffNums free or to be free */
28+
OffsetNumbervpd_voff[1];/* Array of its OffNums */
2829
}VPageDescrData;
2930

3031
typedefVPageDescrData*VPageDescr;
3132

33+
typedefstructVPageListData {
34+
intvpl_nemend;/* Number of "empty" end-pages */
35+
intvpl_npages;/* Number of pages in vpl_pgdesc */
36+
VPageDescr*vpl_pgdesc;/* Descriptions of pages */
37+
}VPageListData;
38+
39+
typedefVPageListData*VPageList;
40+
3241
typedefstructVRelListData {
3342
Oidvrl_relid;
3443
VAttListvrl_attlist;
35-
VPageDescr*vrl_pgdsc;
36-
intvrl_nrepg;
3744
intvrl_ntups;
3845
intvrl_npages;
3946
boolvrl_hasindex;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp