model-writtenrun 4689 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andrew Dunstan proposed an optional verbose parameter to expose error detail and hint fields in #1; Tom Lane recommended a record-returning API and including SQLSTATE in #2, leading Andrew to submit a separate pg_input_error_detail() function in #3.
- Nathan Bossart argued for changing the existing pg_input_error_message() function instead of adding another function in #4, then supplied that implementation and updated regression expectations in #5 after a six-week gap.
- Nathan corrected CI failures with alternate expected-output updates and message-only XML tests in #7, and Corey Huinker reported that the patch looked good and passed make check-world in #8.
- Michael Paquier supported the record-returning API but requested a more suitable name in #9; after Nathan's response in #10, Tom Lane proposed pg_input_error_info() in #11, and Nathan adopted it in #12.
- Michael accepted the four returned fields but requested clearer regression output in #13, then supplied expanded field displays, LATERAL joins and a corrected float4 alternate expectation in #14; additional ErrorData fields were left for future demonstrated needs.
- Nathan accepted Michael's revision and fixed remaining alternate-output failures in #15.
- Michael committed #15 as b8da37b3ad, with formatting, comment punctuation and a temporary SQLSTATE variable as the only implementation edits, crediting Nathan as author.
- Michael announced application and reported an additional xml_2.out copy-paste correction in #16; Nathan's thanks in #17 closed the thread with the feature landed and no outstanding patch revision.