PostgreSQL Source Code: src/include/bootstrap/bootstrap.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef BOOTSTRAP_H

15#define BOOTSTRAP_H

16

19

20

21

22

23

24

25#define MAXATTR 40

26

27#define BOOTCOL_NULL_AUTO 1

28#define BOOTCOL_NULL_FORCE_NULL 2

29#define BOOTCOL_NULL_FORCE_NOT_NULL 3

30

34

35

37

40

45

48

51 bool *typbyval,

53 char *typdelim,

54 Oid *typioparam,

56 Oid *typoutput,

57 Oid *typcollation);

58

60

63

68

69#endif

void closerel(char *relname)

int boot_yylex_init(yyscan_t *yyscannerp)

void InsertOneValue(char *value, int i)

PGDLLIMPORT Relation boot_reldesc

pg_noreturn void boot_yyerror(yyscan_t yyscanner, const char *message)

void InsertOneNull(int i)

pg_noreturn void BootstrapModeMain(int argc, char *argv[], bool check_only)

int boot_yylex(union YYSTYPE *yylval_param, yyscan_t yyscanner)

void InsertOneTuple(void)

void boot_get_type_io_data(Oid typid, int16 *typlen, bool *typbyval, char *typalign, char *typdelim, Oid *typioparam, Oid *typinput, Oid *typoutput, Oid *typcollation)

PGDLLIMPORT Form_pg_attribute attrtypes[MAXATTR]

Oid boot_get_role_oid(const char *rolname)

int boot_yyparse(yyscan_t yyscanner)

void DefineAttr(char *name, char *type, int attnum, int nullness)

void index_register(Oid heap, Oid ind, const IndexInfo *indexInfo)

void boot_openrel(char *relname)

FormData_pg_attribute * Form_pg_attribute