1 /*-------------------------------------------------------------------------
4 * include file for the bootstrapping code
7 * Portions Copyright (c) 1996-2014, 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"
21 * MAXATTR is the maximum number of attributes in a relation supported
22 * at bootstrap time (i.e., the max possible in a system table).
26 extern Relation boot_reldesc;
27 extern Form_pg_attribute attrtypes[MAXATTR];
31 extern void AuxiliaryProcessMain(int argc, char *argv[]) __attribute__((noreturn));
33 extern void err_out(void);
35 extern void closerel(char *name);
36 extern void boot_openrel(char *name);
38 extern void DefineAttr(char *name, char *type, int attnum);
39 extern void InsertOneTuple(Oid objectid);
40 extern void InsertOneValue(char *value, int i);
41 extern void InsertOneNull(int i);
43 extern char *MapArrayTypeName(const char *s);
45 extern void index_register(Oid heap, Oid ind, IndexInfo *indexInfo);
46 extern void build_indices(void);
48 extern void boot_get_type_io_data(Oid typid,
57 extern int boot_yyparse(void);
59 extern int boot_yylex(void);
60 extern void boot_yyerror(const char *str);
62 #endif /* BOOTSTRAP_H */