]> granicus.if.org Git - postgresql/commit
Force some system catalog table columns to be marked NOT NULL.
authorAndres Freund <andres@anarazel.de>
Sat, 21 Feb 2015 21:37:05 +0000 (22:37 +0100)
committerAndres Freund <andres@anarazel.de>
Sat, 21 Feb 2015 21:37:05 +0000 (22:37 +0100)
commit82a532b34d7547b43b90e2e4d4953f4be1c655b8
tree2dcc346ed20fa112ca00232be56db5289035e1c4
parenteb68379c38202180bc8e33fb9987284e314b7fc8
Force some system catalog table columns to be marked NOT NULL.

In a manual pass over the catalog declaration I found a number of
columns which the boostrap automatism didn't mark NOT NULL even though
they actually were. Add BKI_FORCE_NOT_NULL markings to them.

It's usually not critical if a system table column is falsely determined
to be nullable as the code should always catch relevant cases. But it's
good to have a extra layer in place.

Discussion: 20150215170014.GE15326@awork2.anarazel.de
src/include/catalog/pg_description.h
src/include/catalog/pg_extension.h
src/include/catalog/pg_largeobject.h
src/include/catalog/pg_pltemplate.h
src/include/catalog/pg_proc.h
src/include/catalog/pg_seclabel.h
src/include/catalog/pg_shdescription.h
src/include/catalog/pg_shseclabel.h
src/include/catalog/pg_trigger.h