~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/include/catalog/catalog.h

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

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