• Tom Lane's avatar
    Add relcache support for system catalogs with attnotnull columns. · 24b130cb
    Tom Lane authored
    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.
    24b130cb
relcache.c 92.6 KB