Skip to content
Snippets Groups Projects
Commit a38365e0 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev
Browse files

New structures for new vacuum.

parent 948720ee
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
*
* 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 $
*
*-------------------------------------------------------------------------
*/
......@@ -23,17 +23,24 @@ typedef VAttListData *VAttList;
typedef struct VPageDescrData {
BlockNumber vpd_blkno; /* BlockNumber of 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 */
uint16 vpd_noff; /* Number of OffNums free or to be free */
OffsetNumber vpd_voff[1]; /* Array of its OffNums */
} VPageDescrData;
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 {
Oid vrl_relid;
VAttList vrl_attlist;
VPageDescr *vrl_pgdsc;
int vrl_nrepg;
int vrl_ntups;
int vrl_npages;
bool vrl_hasindex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment