heap.h 839 字节
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
 *
B
Bruce Momjian 已提交
9
 * $Id: heap.h,v 1.19 1999/05/25 16:13:39 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 19
extern Oid	RelnameFindRelid(char *relname);
extern Relation heap_create(char *relname, TupleDesc att,
B
Bruce Momjian 已提交
20
			bool isnoname, bool istemp);
21

22
extern Oid heap_create_with_catalog(char *relname,
23
						 TupleDesc tupdesc, char relkind, bool istemp);
24

25
extern void heap_destroy_with_catalog(char *relname);
26
extern void heap_destroy(Relation rel);
27

28 29
extern void InitNoNameRelList(void);
extern void DestroyNoNameRels(void);
30

31
#endif	 /* HEAP_H */