1
/*-------------------------------------------------------------------------
4
* prototypes for functions in catalog/pg_inherits.c
7
* Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
10
* src/include/catalog/pg_inherits_fn.h
12
*-------------------------------------------------------------------------
14
#ifndef PG_INHERITS_FN_H
15
#define PG_INHERITS_FN_H
17
#include "nodes/pg_list.h"
18
#include "storage/lock.h"
20
extern List *find_inheritance_children(Oid parentrelId, LOCKMODE lockmode);
21
extern List *find_all_inheritors(Oid parentrelId, LOCKMODE lockmode,
23
extern bool has_subclass(Oid relationId);
24
extern bool typeInheritsFrom(Oid subclassTypeId, Oid superclassTypeId);
26
#endif /* PG_INHERITS_FN_H */