Commit c8fc4c96 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Reap deleted/unused tuples on page-base

parent bc500674
...@@ -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.1 1996/08/28 07:21:52 scrappy Exp $ * $Id: vacuum.h,v 1.2 1996/10/18 08:15:58 vadim Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -20,17 +20,20 @@ typedef struct VAttListData { ...@@ -20,17 +20,20 @@ typedef struct VAttListData {
typedef VAttListData *VAttList; typedef VAttListData *VAttList;
typedef struct VTidListData { typedef struct VPageDescrData {
ItemPointerData vtl_tid; BlockNumber vpd_blkno; /* BlockNumber of this Page */
struct VTidListData *vtl_next; Size vpd_free; /* FreeSpace on this Page */
} VTidListData; uint16 vpd_noff; /* Number of dead tids */
OffsetNumber vpd_voff[1]; /* Array of its OffNums */
} VPageDescrData;
typedef VTidListData *VTidList; typedef VPageDescrData *VPageDescr;
typedef struct VRelListData { typedef struct VRelListData {
Oid vrl_relid; Oid vrl_relid;
VAttList vrl_attlist; VAttList vrl_attlist;
VTidList vrl_tidlist; 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment