1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* vacuum.h
|
2001-05-07 02:43:27 +02:00
|
|
|
* header file for postgres vacuum cleaner and statistics analyzer
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2001-01-24 20:43:33 +01:00
|
|
|
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2001-06-28 01:31:40 +02:00
|
|
|
* $Id: vacuum.h,v 1.36 2001/06/27 23:31:39 tgl Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef VACUUM_H
|
|
|
|
#define VACUUM_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2001-05-07 02:43:27 +02:00
|
|
|
#include "nodes/parsenodes.h"
|
2001-06-28 01:31:40 +02:00
|
|
|
#include "storage/block.h"
|
1998-02-26 05:46:47 +01:00
|
|
|
|
1997-02-07 17:24:12 +01:00
|
|
|
|
2001-05-07 02:43:27 +02:00
|
|
|
/* in commands/vacuum.c */
|
|
|
|
extern void vacuum(VacuumStmt *vacstmt);
|
2001-06-28 01:31:40 +02:00
|
|
|
extern void vac_update_relstats(Oid relid,
|
|
|
|
BlockNumber num_pages,
|
|
|
|
double num_tuples,
|
2001-05-07 02:43:27 +02:00
|
|
|
bool hasindex);
|
|
|
|
/* in commands/analyze.c */
|
|
|
|
extern void analyze_rel(Oid relid, VacuumStmt *vacstmt);
|
1997-09-07 07:04:48 +02:00
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* VACUUM_H */
|