Add test for NOT NULL differing across partition hierarchy

Test a trigger on a partition table where a columns NOT NULLness differs
between parent and child.

Development versions of an upcoming fix broke those cases without
breaking any extant tests.

Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8e5da6768ab0efbabbf09dfa82f2c6a5dc861cdf
Author: Andres Freund <[email protected]>

Modified Files
--------------
src/test/regress/expected/triggers.out | 60 ++++++++++++++++++++++++++++++++++
src/test/regress/sql/triggers.sql      | 37 +++++++++++++++++++++
2 files changed, 97 insertions(+)

Reply via email to