model-writtenrun 2677 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Noah Misch reported that compiling with -ftrivial-auto-var-init=pattern exposed unstable ECPG decimal test output because arithmetic functions left their output parameters unchanged when given risnull() inputs #1.
- Noah suspected this behavior was an accidental consequence of a 2004 change supporting aliased input and output arguments, and requested Informix testing because its documentation did not specify arithmetic behavior for null inputs #1.
- Noah attached a test correction that initialized output parameters to 7654321, plus a dependent patch restoring null-result propagation; he conditioned the behavior change on confirmation from Informix testing and proposed avoiding backpatches for that change because applications might depend on the longstanding behavior #1.
- On January 25, 2025, Noah committed the test correction unchanged as 7819a25cd1, with backpatches through PostgreSQL 13.
- Only the test portion of #1 is represented by the supplied commit; the available thread contains no Informix test results or resolution of the proposed behavior change.