model-writtenrun 5977 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Matthijs van der Vleuten reported that normalize('') produces memory-allocation warnings in PostgreSQL 14.0 and suspected an out-of-bounds write during recomposition #1.
- Michael Paquier identified target_pos being initialized to 1 as the cause, clarified that the recomposition loop is skipped, and favored fixing the shared normalization code to protect external callers as well #2.
- Michael submitted a patch returning the empty decomposed string immediately, with regression tests, and favored preserving the existing behavior that considers empty strings normalized #2.
- Michael committed the patch with unchanged fix logic and expanded tests covering empty strings under all four normalization forms, backpatching through PostgreSQL 10 098c134556.
- Michael closed the thread by confirming that the fix had landed with expanded tests and thanking Matthijs for the report #3.