summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_shseclabel.h
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-02-21 22:37:05 +0100
committerAndres Freund <andres@anarazel.de>2015-02-21 22:37:05 +0100
commit82a532b34d7547b43b90e2e4d4953f4be1c655b8 (patch)
tree2dcc346ed20fa112ca00232be56db5289035e1c4 /src/include/catalog/pg_shseclabel.h
parenteb68379c38202180bc8e33fb9987284e314b7fc8 (diff)
downloadpostgresql-82a532b34d7547b43b90e2e4d4953f4be1c655b8.tar.gz
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
Diffstat (limited to 'src/include/catalog/pg_shseclabel.h')
-rw-r--r--src/include/catalog/pg_shseclabel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/catalog/pg_shseclabel.h b/src/include/catalog/pg_shseclabel.h
index f0b9952804..3977b42f87 100644
--- a/src/include/catalog/pg_shseclabel.h
+++ b/src/include/catalog/pg_shseclabel.h
@@ -26,8 +26,8 @@ CATALOG(pg_shseclabel,3592) BKI_SHARED_RELATION BKI_WITHOUT_OIDS
Oid classoid; /* OID of table containing the shared object */
#ifdef CATALOG_VARLEN /* variable-length fields start here */
- text provider; /* name of label provider */
- text label; /* security label of the object */
+ text provider BKI_FORCE_NOT_NULL; /* name of label provider */
+ text label BKI_FORCE_NOT_NULL; /* security label of the object */
#endif
} FormData_pg_shseclabel;