diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1996-10-18 08:15:58 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1996-10-18 08:15:58 +0000 |
commit | c8fc4c96074bd36618d34523e2985592f406b780 (patch) | |
tree | b8bcbface63c1cd167feca5dbafb600004073ffc | |
parent | bc500674269ad9abb949af622f3392ff824cb179 (diff) | |
download | postgresql-c8fc4c96074bd36618d34523e2985592f406b780.tar.gz postgresql-c8fc4c96074bd36618d34523e2985592f406b780.zip |
Reap deleted/unused tuples on page-base
-rw-r--r-- | src/include/commands/vacuum.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h index a3132bd9952..b9c45026e8e 100644 --- a/src/include/commands/vacuum.h +++ b/src/include/commands/vacuum.h @@ -6,7 +6,7 @@ * * 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 { typedef VAttListData *VAttList; -typedef struct VTidListData { - ItemPointerData vtl_tid; - struct VTidListData *vtl_next; -} VTidListData; +typedef struct VPageDescrData { + BlockNumber vpd_blkno; /* BlockNumber of this Page */ + Size vpd_free; /* FreeSpace on this Page */ + 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 { Oid vrl_relid; VAttList vrl_attlist; - VTidList vrl_tidlist; + VPageDescr *vrl_pgdsc; + int vrl_nrepg; int vrl_ntups; int vrl_npages; bool vrl_hasindex; |