1 /*-------------------------------------------------------------------------
4 * include file for the bootstrapping code
7 * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $PostgreSQL: pgsql/src/include/bootstrap/bootstrap.h,v 1.54 2010/01/02 16:58:01 momjian Exp $
12 *-------------------------------------------------------------------------
17 #include "nodes/execnodes.h"
27 NUM_AUXPROCTYPES /* Must be last! */
31 * MAXATTR is the maximum number of attributes in a relation supported
32 * at bootstrap time (i.e., the max possible in a system table).
36 extern Relation boot_reldesc;
37 extern Form_pg_attribute attrtypes[MAXATTR];
41 extern void AuxiliaryProcessMain(int argc, char *argv[]);
43 extern void err_out(void);
45 extern void closerel(char *name);
46 extern void boot_openrel(char *name);
48 extern void DefineAttr(char *name, char *type, int attnum);
49 extern void InsertOneTuple(Oid objectid);
50 extern void InsertOneValue(char *value, int i);
51 extern void InsertOneNull(int i);
53 extern char *MapArrayTypeName(char *s);
55 extern void index_register(Oid heap, Oid ind, IndexInfo *indexInfo);
56 extern void build_indices(void);
58 extern void boot_get_type_io_data(Oid typid,
67 extern int boot_yyparse(void);
69 extern int boot_yylex(void);
70 extern void boot_yyerror(const char *str);
72 #endif /* BOOTSTRAP_H */