pgsql: Force some system catalog table columns to be marked NOT NULL.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Force some system catalog table columns to be marked NOT NULL.
Дата
Msg-id E1YPHjq-0008O0-KM@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/82a532b34d7547b43b90e2e4d4953f4be1c655b8

Modified Files
--------------
src/include/catalog/pg_description.h   |    2 +-
src/include/catalog/pg_extension.h     |    4 ++--
src/include/catalog/pg_largeobject.h   |    2 +-
src/include/catalog/pg_pltemplate.h    |    4 ++--
src/include/catalog/pg_proc.h          |    2 +-
src/include/catalog/pg_seclabel.h      |    4 ++--
src/include/catalog/pg_shdescription.h |    2 +-
src/include/catalog/pg_shseclabel.h    |    4 ++--
src/include/catalog/pg_trigger.h       |    2 +-
9 files changed, 13 insertions(+), 13 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Don't need to explain [1] kluge anymore in xfunc.sgml.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Allow forcing nullness of columns during bootstrap.