1 /*-------------------------------------------------------------------------
4 * prototypes for functions in backend/catalog/catalog.c
7 * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $Id: catalog.h,v 1.25 2002/06/20 20:29:43 momjian Exp $
12 *-------------------------------------------------------------------------
17 #include "utils/rel.h"
20 extern char *relpath(RelFileNode rnode);
21 extern char *GetDatabasePath(Oid tblNode);
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 */