aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/temprel.h
blob: 960c8b97eec4031783df3e6c02e35125b967e1a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*-------------------------------------------------------------------------
 *
 * temprel.h
 *	  Temporary relation functions
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: temprel.h,v 1.7 2000/01/22 14:20:56 petere Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef TEMPREL_H
#define TEMPREL_H

#include "access/htup.h"

void		create_temp_relation(const char *relname, HeapTuple pg_class_tuple);
void		remove_all_temp_relations(void);
void		invalidate_temp_relations(void);
void		remove_temp_relation(Oid relid);
char 	   *get_temp_rel_by_username(const char *user_relname);
char 	   *get_temp_rel_by_physicalname(const char *relname);

#endif	 /* TEMPREL_H */