summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian1998-08-19 19:59:49 +0000
committerBruce Momjian1998-08-19 19:59:49 +0000
commitbd5aaca391b86bc70f297a7cce59642278aa6c4e (patch)
tree79e8225807e6560fbcec284ed0aa08c9c3f170ad /src/include
parent9c4eceb4e35e793b0ff882907755618371aecc8b (diff)
Vacuum fix. Was modifying cache.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/catalog/pg_description.h11
-rw-r--r--src/include/commands/vacuum.h18
2 files changed, 15 insertions, 14 deletions
diff --git a/src/include/catalog/pg_description.h b/src/include/catalog/pg_description.h
index f2916ee3a8..3a2c4e6b38 100644
--- a/src/include/catalog/pg_description.h
+++ b/src/include/catalog/pg_description.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_description.h,v 1.5 1998/02/26 04:40:53 momjian Exp $
+ * $Id: pg_description.h,v 1.6 1998/08/19 19:59:47 momjian Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -58,9 +58,10 @@ typedef FormData_pg_description *Form_pg_description;
* ----------------
*/
-/* Because the contents of this table are taken from the other *.h files,
- there is no initialization. It is loaded from initdb using a COPY
- statement.
-*/
+/*
+ * Because the contents of this table are taken from the other *.h files,
+ * there is no initialization. It is loaded from initdb using a COPY
+ * statement.
+ */
#endif /* PG_DESCRIPTION_H */
diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h
index 05e737f734..529d652e64 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.13 1998/02/26 04:41:12 momjian Exp $
+ * $Id: vacuum.h,v 1.14 1998/08/19 19:59:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -33,18 +33,18 @@ typedef struct VPageDescrData
{
BlockNumber vpd_blkno; /* BlockNumber of this Page */
Size vpd_free; /* FreeSpace on this Page */
- 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 */
+ uint16 vpd_offsets_used; /* Number of OffNums used by vacuum */
+ uint16 vpd_offsets_free; /* Number of OffNums free or to be free */
+ OffsetNumber vpd_offsets[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 */
+ int vpl_empty_end_pages; /* Number of "empty" end-pages */
+ int vpl_num_pages; /* Number of pages in vpl_pagedesc */
+ VPageDescr *vpl_pagedesc; /* Descriptions of pages */
} VPageListData;
typedef VPageListData *VPageList;
@@ -96,8 +96,8 @@ typedef VRelListData *VRelList;
typedef struct VRelStats
{
Oid relid;
- int ntups;
- int npages;
+ int num_tuples;
+ int num_pages;
Size min_tlen;
Size max_tlen;
bool hasindex;