Consistently use "superuser" instead of "super user"
[pgsql.git] / src / include / access / table.h
blob5e4d9dd32fff41fcc8e25a667a62e2294da15632
1 /*-------------------------------------------------------------------------
3 * table.h
4 * Generic routines for table related code.
7 * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/access/table.h
12 *-------------------------------------------------------------------------
14 #ifndef TABLE_H
15 #define TABLE_H
17 #include "nodes/primnodes.h"
18 #include "storage/lockdefs.h"
19 #include "utils/relcache.h"
21 extern Relation table_open(Oid relationId, LOCKMODE lockmode);
22 extern Relation table_openrv(const RangeVar *relation, LOCKMODE lockmode);
23 extern Relation table_openrv_extended(const RangeVar *relation,
24 LOCKMODE lockmode, bool missing_ok);
25 extern Relation try_table_open(Oid relationId, LOCKMODE lockmode);
26 extern void table_close(Relation relation, LOCKMODE lockmode);
28 #endif /* TABLE_H */