1
/*-------------------------------------------------------------------------
4
* prototypes for functions in backend/catalog/catalog.c
7
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
10
* $PostgreSQL: pgsql/src/include/catalog/catalog.h,v 1.30 2004-12-31 22:03:24 pgsql Exp $
12
*-------------------------------------------------------------------------
17
#include "utils/rel.h"
20
extern char *relpath(RelFileNode rnode);
21
extern char *GetDatabasePath(Oid dbNode, Oid spcNode);
23
extern bool IsSystemRelation(Relation relation);
24
extern bool IsToastRelation(Relation relation);
26
extern bool IsSystemClass(Form_pg_class reltuple);
27
extern bool IsToastClass(Form_pg_class reltuple);
29
extern bool IsSystemNamespace(Oid namespaceId);
30
extern bool IsToastNamespace(Oid namespaceId);
32
extern bool IsReservedName(const char *name);
34
extern Oid newoid(void);
36
#endif /* CATALOG_H */