model-writtenrun 4842 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masahiko Sawada reported that pg_locks incorrectly displayed a speculative token lock's transaction ID in database, preventing searches by transactionid, and supplied a patch moving the transaction ID to transactionid and the token to objid #1.
- Amit Kapila asked for documentation explaining the token's use of objid, citing the existing documentation of unconventional column meanings for advisory locks #2.
- Masahiko added that documentation while retaining the original code change #3.
- Amit approved the revision but recommended against backpatching because changing the columns could break monitoring scripts; Masahiko agreed, leaving backpatching open only if users subsequently complained about older branches #4 #5.
- Amit subsequently committed the revised patch unchanged apart from rebasing as f745739697, completing the development-branch fix from #3 without backports.