model-writtenrun 3126 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nathan Bossart proposed removing volatile qualifiers from pg_stat_statements after noticing them while investigating a possible conversion of an entry mutex to an LWLock #1.
- The submitted patch retained spinlocks and accessed the original pointers directly, on the reasoning that spinlock primitives already provided the compiler barriers that made volatile unnecessary #1.
- Bertrand Drouvot agreed with the reasoning and said the patch looked good #2.
- Michael Paquier also approved the patch and reported that remaining volatile references elsewhere in contrib were needed for TRY/CATCH blocks #3.
- Nathan Bossart committed the sole patchset #1 unchanged as 8928817769 and closed the thread with confirmation that it had landed #4.