model-writtenrun 9928 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The bug report in #1, logged by Zheng Hacker and crediting Zheng Wang, Yanjie Zhao, and Yiyang Liu, demonstrated that currtid2() on a view grouping by ctid returns XX000 because currtid_for_view() falls through to an elog(ERROR), and requested an appropriate unsupported-feature SQLSTATE.
- Ayush Tiwari proposed explicit SQLSTATEs in #2 for this bug, two related reports involving statistics arguments and FOR PORTION OF, and additional errors involving Unicode encoding, control-file CRCs, invalid GiST tuples, and the default collation.
- Ayush narrowed the patch in #3, dropping the statistics and FOR PORTION OF changes while retaining the currtid fix and the four other categories; the message did not explain why those two changes were removed.
- Pierre Forstmann argued in #4 that a non-UTF8 encoding should produce FEATURE_NOT_SUPPORTED rather than SYNTAX_ERROR and requested a tid regression test; Ayush implemented both in #5, while questioning the test's necessity and specifying that the patch was intended for master only.
- Pierre approved the revised patch in #6, reported successful installcheck-world and feature testing, found no documentation update necessary, and marked it Ready for Committer.
- Fujii Masao resumed review in #7, agreed that the added test was unnecessary, and requested matching SQLSTATE corrections for unicode_norm_form_from_string(), str_casefold(), and perform_base_backup().
- Ayush addressed Fujii's requests in #8 by removing the test, aligning all three Unicode encoding checks, adding the base-backup CRC error code, and rebasing the patch; the final submission explicitly ruled out backpatching because existing SQLSTATEs change.
- Fujii committed #8 with an identical code diff as 9ebc9a458c and confirmed the push in #9, completing the final patch on master without backpatching.