提交 a38365e0 编写于 作者: V Vadim B. Mikheev

New structures for new vacuum.

上级 948720ee
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: vacuum.h,v 1.2 1996/10/18 08:15:58 vadim Exp $ * $Id: vacuum.h,v 1.3 1996/11/27 07:35:06 vadim Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -21,19 +21,26 @@ typedef struct VAttListData { ...@@ -21,19 +21,26 @@ typedef struct VAttListData {
typedef VAttListData *VAttList; typedef VAttListData *VAttList;
typedef struct VPageDescrData { typedef struct VPageDescrData {
BlockNumber vpd_blkno; /* BlockNumber of this Page */ BlockNumber vpd_blkno; /* BlockNumber of this Page */
Size vpd_free; /* FreeSpace on this Page */ Size vpd_free; /* FreeSpace on this Page */
uint16 vpd_noff; /* Number of dead tids */ uint16 vpd_nusd; /* Number of OffNums used by vacuum */
OffsetNumber vpd_voff[1]; /* Array of its OffNums */ uint16 vpd_noff; /* Number of OffNums free or to be free */
OffsetNumber vpd_voff[1]; /* Array of its OffNums */
} VPageDescrData; } VPageDescrData;
typedef VPageDescrData *VPageDescr; typedef VPageDescrData *VPageDescr;
typedef struct VPageListData {
int vpl_nemend; /* Number of "empty" end-pages */
int vpl_npages; /* Number of pages in vpl_pgdesc */
VPageDescr *vpl_pgdesc; /* Descriptions of pages */
} VPageListData;
typedef VPageListData *VPageList;
typedef struct VRelListData { typedef struct VRelListData {
Oid vrl_relid; Oid vrl_relid;
VAttList vrl_attlist; VAttList vrl_attlist;
VPageDescr *vrl_pgdsc;
int vrl_nrepg;
int vrl_ntups; int vrl_ntups;
int vrl_npages; int vrl_npages;
bool vrl_hasindex; bool vrl_hasindex;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册