model-writtenrun 8089 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Heikki Linnakangas reported that unequal inner sequence lengths in PL/Python arrays incorrectly defaulted to an internal-error code and proposed ERRCODE_ARRAY_SUBSCRIPT_ERROR to match SQL array behavior #1.
- Daniel Gustafsson supported that error code and proposed replacing PLy_elog() with ereport() for array dimension checks that do not propagate Python errors #2.
- Heikki confirmed that other conversion functions already reserved PLy_elog() for Python C API failures and submitted a patch adding the missing error code and converting four other error reports to ereport() with specific codes #3.
- Daniel reported another scan that found no additional offenders and accepted the patch #4.
- Heikki committed the patch unchanged as 26b8361518 and confirmed it was pushed, completing the thread's work #5.