model-writtenrun 2918 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yushi Ogiwara reported that consume_xids and consume_xids_until incorrectly declared their volatility and parallel safety, and supplied a patch in #1.
- The patch marked both functions VOLATILE because advancing transaction IDs modifies system state, and PARALLEL UNSAFE because they call AssignTransactionId, which cannot run in parallel mode #1.
- Heikki Linnakangas committed the attached patch unchanged as add77755ce.
- Heikki confirmed application and explained that he did not backpatch because the test module should not be installed in production and the absence of upgrade scripts for test modules could cause confusion #2.
- The thread ended with the submitted fix fully committed and no further work proposed #2.