head	1.3;
access;
symbols
	release_4_2:1.3
	aix_ok:1.3;
locks; strict;
comment	@ * @;


1.3
date	91.05.05.21.45.13;	author mao;	state Exp;
branches;
next	1.2;

1.2
date	91.05.05.19.54.04;	author mao;	state Exp;
branches;
next	1.1;

1.1
date	91.05.05.19.51.24;	author mao;	state Exp;
branches;
next	;


desc
@header file for postgres vacuum cleaner as postquel command
@


1.3
log
@new extern routine decl
@
text
@/*
 *  vacuum.h -- header file for postgres vacuum cleaner
 *
 *	$Header: RCS/vacuum.h,v 1.2 91/05/05 19:54:04 mao Exp Locker: mao $
 */

#ifndef _VACUUM_H_
#define _VACUUM_H_

typedef struct VAttListData {
    int			val_dummy;
    struct VAttListData	*val_next;
} VAttListData;

typedef VAttListData	*VAttList;

typedef struct VTidListData {
    ItemPointerData	vtl_tid;
    struct VTidListData	*vtl_next;
} VTidListData;

typedef VTidListData	*VTidList;

typedef struct VRelListData {
    ObjectId		vrl_relid;
    VAttList		vrl_attlist;
    VTidList		vrl_tidlist;
    int			vrl_ntups;
    int			vrl_npages;
    bool		vrl_hasindex;
    struct VRelListData	*vrl_next;
} VRelListData;

typedef VRelListData	*VRelList;

/* routines */
extern void	_vc_init();
extern void	_vc_shutdown();
extern void	_vc_vacuum();
extern VRelList	_vc_getrels();
extern void	_vc_vacone();
extern void	_vc_vacheap();
extern void	_vc_vacindices();
extern void	_vc_vaconeind();
extern void	_vc_updstats();
extern bool	_vc_ontidlist();
extern void	_vc_reaptid();
extern void	_vc_free();
extern void	_vc_setpagelock();
extern Relation	_vc_getarchrel();
extern void	_vc_archive();
extern bool	_vc_isarchrel();

#endif /* ndef _VACUUM_H_ */
@


1.2
log
@add rcs header linke
@
text
@d4 1
a4 1
 *	$Header$
d52 1
@


1.1
log
@Initial revision
@
text
@d3 2
@
