diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-06-27 23:31:40 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-06-27 23:31:40 +0000 |
| commit | e0c9301c87634f21c0a7c6305bdc6da15d6ba375 (patch) | |
| tree | aad976ca0197137c3461ff19a3d0e155487f7b44 /src/include/commands | |
| parent | b559382134a52bbe1d79d465afd89c8385f88581 (diff) | |
Install infrastructure for shared-memory free space map. Doesn't actually
do anything yet, but it has the necessary connections to initialization
and so forth. Make some gestures towards allowing number of blocks in
a relation to be BlockNumber, ie, unsigned int, rather than signed int.
(I doubt I got all the places that are sloppy about it, yet.) On the
way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC
variable.
Diffstat (limited to 'src/include/commands')
| -rw-r--r-- | src/include/commands/vacuum.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h index 87bb0007aa0..0d9f66d04b3 100644 --- a/src/include/commands/vacuum.h +++ b/src/include/commands/vacuum.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: vacuum.h,v 1.35 2001/05/07 00:43:25 tgl Exp $ + * $Id: vacuum.h,v 1.36 2001/06/27 23:31:39 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -15,11 +15,14 @@ #define VACUUM_H #include "nodes/parsenodes.h" +#include "storage/block.h" /* in commands/vacuum.c */ extern void vacuum(VacuumStmt *vacstmt); -extern void vac_update_relstats(Oid relid, long num_pages, double num_tuples, +extern void vac_update_relstats(Oid relid, + BlockNumber num_pages, + double num_tuples, bool hasindex); /* in commands/analyze.c */ extern void analyze_rel(Oid relid, VacuumStmt *vacstmt); |
