model-writtenrun 7243 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported that oversized arrays could crash gist__int_ops because uncompressed leaf values were mistaken for compressed data, reproducing the problem from PostgreSQL 11 through master #1.
- Richard Guo questioned why the oversized-array check emitted NOTICE instead of ERROR, identifying the eventual fix #2.
- Alexander Lakhin endorsed Ankit Kumar Pandey’s proposal from another thread and attached two patches adding the ERROR, a regression test, and consistent ERRCODE_PROGRAM_LIMIT_EXCEEDED codes #3.
- Michael Paquier confirmed that rejecting oversized inputs prevents storing values the decompression code cannot handle, endorsed both patches, and recommended backpatching #4.
- Michael Paquier committed both patches unchanged as c00fbe89dc, backpatched through PostgreSQL 11, and explained that revisiting the removed leaf marker to support larger arrays was unwarranted given the lack of demand #5.
- Alexander Lakhin closed the Commitfest entry as committed and confirmed that the original misleading index-size error no longer appeared, while leaving its possible occurrence with other GiST indexes for future investigation #6.