pgsql-server/src/backend/utils/cache relcache.c

Поиск
Список
Период
Сортировка
Искать

pgsql-server/src/backend/utils/cache relcache.c

От:
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	tgl@postgresql.org	02/11/15 12:18:49

Modified files:
	src/backend/utils/cache: relcache.c 

Log message:
	Add relcache support for system catalogs with attnotnull columns.
	The code was not making TupleConstr structs for such catalogs in
	several places; with the consequence that the not-null constraint
	wasn't actually enforced.  With this change,
	INSERT INTO pg_proc VALUES('sdf');
	generates a 'Fail to add null value' error instead of a core dump.

FAQ