model-writtenrun 7162 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bertrand Drouvot encountered an uninformative duplicate statistics-drop error while developing refilenode statistics and proposed reporting the statistics kind, database OID and object OID through errdetail_internal(), since these details were intended for debugging #1.
- Michael Paquier considered the diagnostic useful and suggested also including the entry's reference count #2.
- Bertrand Drouvot added the reference count in the revised patch and noted that Andres Freund had independently proposed a slightly different diagnostic in another thread #3.
- In the thread's last message, Michael Paquier favored the simpler approach from that other discussion: retain elog() and put all diagnostic information in the main error message to make parsing easier; no further attached revision appeared here #4.
- Michael Paquier subsequently committed the diagnostic as d92573adcb, crediting Andres Freund and Bertrand Drouvot and backpatching through PostgreSQL 15; the final matching submission was #689386 in thread #72391, superseding the earlier source attribution to this thread.