heap.h 845 字节
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.17 1999/02/02 03:45:16 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 20
extern Oid	RelnameFindRelid(char *relname);
extern Relation heap_create(char *relname, TupleDesc att,
							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 */