1 /*-------------------------------------------------------------------------
4 * include file for the bootstrapping code
7 * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/bootstrap/bootstrap.h
12 *-------------------------------------------------------------------------
17 #include "nodes/execnodes.h"
29 NUM_AUXPROCTYPES /* Must be last! */
33 * MAXATTR is the maximum number of attributes in a relation supported
34 * at bootstrap time (i.e., the max possible in a system table).
38 extern Relation boot_reldesc;
39 extern Form_pg_attribute attrtypes[MAXATTR];
43 extern void AuxiliaryProcessMain(int argc, char *argv[]);
45 extern void err_out(void);
47 extern void closerel(char *name);
48 extern void boot_openrel(char *name);
50 extern void DefineAttr(char *name, char *type, int attnum);
51 extern void InsertOneTuple(Oid objectid);
52 extern void InsertOneValue(char *value, int i);
53 extern void InsertOneNull(int i);
55 extern char *MapArrayTypeName(char *s);
57 extern void index_register(Oid heap, Oid ind, IndexInfo *indexInfo);
58 extern void build_indices(void);
60 extern void boot_get_type_io_data(Oid typid,
69 extern int boot_yyparse(void);
71 extern int boot_yylex(void);
72 extern void boot_yyerror(const char *str);
74 #endif /* BOOTSTRAP_H */