heap.h 758 字节
Newer Older
1 2 3
/*-------------------------------------------------------------------------
 *
 * heap.h--
4
 *	  prototypes for functions in lib/catalog/heap.c
5 6 7 8
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
9
 * $Id: heap.h,v 1.14 1998/08/19 02:03:44 momjian Exp $
10 11 12 13 14 15
 *
 *-------------------------------------------------------------------------
 */
#ifndef HEAP_H
#define HEAP_H

M
Marc G. Fournier 已提交
16 17
#include <utils/rel.h>

18
extern Relation heap_create(char *relname, TupleDesc att);
19

20 21
extern Oid	heap_create_with_catalog(char *relname,
									 TupleDesc tupdesc, char relkind);
22

23
extern void heap_destroy_with_catalog(char relname[]);
24
extern void heap_destroy(Relation rel);
25

26 27
extern void InitTempRelList(void);
extern void DestroyTempRels(void);
28 29

#endif							/* HEAP_H */