-
- Downloads
Allow forcing nullness of columns during bootstrap.
Bootstrap determines whether a column is null based on simple builtin rules. Those work surprisingly well, but nonetheless a few existing columns aren't set correctly. Additionally there is at least one patch sent to hackers where forcing the nullness of a column would be helpful. The boostrap format has gained FORCE [NOT] NULL for this, which will be emitted by genbki.pl when BKI_FORCE_(NOT_)?NULL is specified for a column in a catalog header. This patch doesn't change the marking of any existing columns. Discussion: 20150215170014.GE15326@awork2.anarazel.de
Showing
- doc/src/sgml/bki.sgml 6 additions, 3 deletionsdoc/src/sgml/bki.sgml
- src/backend/bootstrap/bootparse.y 10 additions, 3 deletionssrc/backend/bootstrap/bootparse.y
- src/backend/bootstrap/bootscanner.l 3 additions, 0 deletionssrc/backend/bootstrap/bootscanner.l
- src/backend/bootstrap/bootstrap.c 35 additions, 21 deletionssrc/backend/bootstrap/bootstrap.c
- src/backend/catalog/Catalog.pm 22 additions, 2 deletionssrc/backend/catalog/Catalog.pm
- src/backend/catalog/genbki.pl 47 additions, 18 deletionssrc/backend/catalog/genbki.pl
- src/backend/utils/Gen_fmgrtab.pl 1 addition, 1 deletionsrc/backend/utils/Gen_fmgrtab.pl
- src/include/bootstrap/bootstrap.h 5 additions, 1 deletionsrc/include/bootstrap/bootstrap.h
- src/include/catalog/genbki.h 2 additions, 0 deletionssrc/include/catalog/genbki.h
Loading
Please register or sign in to comment