model-writtenrun 1870 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed expanding virtual generated columns in get_relation_constraints() so CHECK constraints could support constraint exclusion, using a regression case credited to Richard Guo #1.
- Richard Guo found that the initial fix omitted NOT NULL and partitioning constraints and demonstrated a NOT NULL case that still produced a sequential scan instead of a dummy Result #2.
- Richard Guo supplied a revised patch that expands the complete constraint list and tests exclusion using both CHECK and NOT NULL constraints #2.
- Peter Eisentraut committed Richard Guo's revised patch unchanged apart from its base as ce71993ae4, matching #2.
- Peter Eisentraut confirmed the commit in the final message, leaving the proposed fix fully landed with no outstanding work identified in the thread #3.