model-writtenrun 2136 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Anthonin Bonnefoy proposed \parse and \bindx to make named prepared statements accessible through psql's extended protocol, primarily for regression testing, in #1.
- Jelte Fennema-Nio requested protocol-level statement deallocation in #2, and Anthonin added \close in #3.
- Jelte then requested inactive-branch argument handling, immediate sending for \parse and \close, and documentation examples using \parse in #4, #5 and #6; Anthonin incorporated these changes and tests in #8.
- Michael Paquier requested a separate patch for the existing \bind inconsistency in #9, producing the split series in #10; its prerequisite landed unchanged as 04c0897d3b, without backpatching because no observable behavior change was found.
- Vignesh resent the remaining feature patch in #12, and Tomas Vondra revived review after several months in #13.
- Michael supplied a revised series in #16, requiring explicit statement-name arguments consistently, documenting the unnamed statement and adding error tests, together with a second patch replacing three boolean flags with a single dispatch enum.
- Aleksander Alekseev reported successful review and testing of the resent series in #18, while Peter Eisentraut questioned the name \bindx in #19; Michael and Anthonin favored a separate \bind_named command over adding an option to \bind in #20 and #21.
- Anthonin implemented the agreed rename and fixed an uninitialized-variable warning in #23; Michael merged both patches into d55322b0da, adding only formatting adjustments and the pgindent typedef entry, and announced completion in #24.
- Alexander Lakhin reported that a missing argument after an earlier \bind_named could leave stale state and trigger an assertion in #25; Anthonin's investigation also uncovered repeated-\bind memory leaks and produced shared state cleanup in #26.
- Michael committed the development-branch cleanup with comment and test polish as 87eeadaea1, then separately implemented the simpler stable-branch \bind cleanup as b0ae6db208.
- Michael explained in #28 that rejecting repeated commands would break scripts relying on the last \bind winning, so Jelte supplied behavior tests in #29; Michael expanded them to cover \bind_named and committed 91287b5f5d, as described in #30.
- Before the next release, Peter reopened naming in #31 because SQL CLOSE refers to cursors while protocol Close can target statements or portals; Greg Sabino Mullane suggested closeprepared in #32, and Peter rejected close_named as still ambiguous in #34.
- Anthonin suggested renaming both commands in #36, but Jelte explained why \bind_named should retain its distinction from \bind in #37; Michael supported changing only \close to \close_prepared in #38.
- Anthonin supplied the complete rename in #39; Michael verified references and explained that translations use a separate update process in #41, while Jelte and Peter approved in #42 and #43.
- The rename landed exactly as posted in fc39b286ad, and Michael's final confirmation in #44 leaves the feature, cleanup fixes, additional tests and naming adjustment committed with no attached work outstanding.