]> granicus.if.org Git - postgresql/blob - src/include/catalog/heap.h
Rename heap_create to heap_create_and_catatlog, rename heap_creatr to heap_create().
[postgresql] / src / include / catalog / heap.h
1 /*-------------------------------------------------------------------------
2  *
3  * heap.h--
4  *        prototypes for functions in lib/catalog/heap.c
5  *
6  *
7  * Copyright (c) 1994, Regents of the University of California
8  *
9  * $Id: heap.h,v 1.9 1997/11/28 04:40:40 momjian Exp $
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef HEAP_H
14 #define HEAP_H
15
16 #include <utils/rel.h>
17
18 extern Relation heap_create(char *relname, TupleDesc att);
19
20 extern Oid
21 heap_create_and_catalog(char relname[], TupleDesc tupdesc);
22
23 extern void heap_destroy(char relname[]);
24 extern void heap_destroyr(Relation r);
25
26 extern void InitTempRelList(void);
27 extern void DestroyTempRels(void);
28
29 #endif                                                  /* HEAP_H */