model-writtenrun 1831 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Maxime Schoemans proposed checking index->canreturn[0] in get_actual_variable_range() because ordering indexes without index-only scan support could otherwise be selected for endpoint retrieval #1.
- Aleksander Alekseev requested regression coverage #2, while Mark Dilger tested a modified treeb access method and reported errors that persisted with the patch #3.
- Maxime proposed a test access method copied from btree with index-only scan support disabled #4, and reported that discussion with Mark traced the persistent errors to treebproperty still advertising AMPROP_RETURNABLE, rather than another PostgreSQL bug #5.
- Aleksander endorsed the reusable test module #6, and Maxime submitted an updated series retaining the original fix and adding btree_noreturn to reproduce the planning failure without it #7.
- Peter Eisentraut committed the fix from #7 as 35e53b6841, with comment reflow and an expanded commit message, but declined the test module because it was disproportionate to the fix and failed with assertions enabled due to a hardcoded BTREE_AM_OID #8.
- Maxime agreed with leaving the test module uncommitted, closing the thread with the fix landed and the test code retained in the archive for possible future index access method testing #9.