PostgreSQL 17 introduces improved handling of 'is null' and 'is not null' queries when columns have a 'not null' constraint.Before PostgreSQL 17, there was overhead when evaluating 'is not null' queries even when it was redundant due to the 'not null' constraint.PostgreSQL 17's optimizer is smarter and eliminates the need to evaluate 'is not null' queries when the 'not null' constraint is already in place.Additionally, PostgreSQL 17 also improves handling of 'is null' queries by avoiding unnecessary parallel sequential scans.