model-writtenrun 5523 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Amul Sul proposed converting existing BRIN, GIN and GiST regression tables to UNLOGGED to exercise otherwise uncovered ambuildempty routines while preserving the tests' original purposes #1, and Rushabh Lathia endorsed the coverage improvement #2.
- Alvaro Herrera added the same treatment for SP-GiST and committed the expanded patch as 4fb5c794e5, announcing the addition in #3.
- The SP-GiST addition left an unlogged relation in the regression database and broke recovery testing; Alvaro Herrera found that truncation was insufficient and pushed a workaround that dropped the table #4.
- Tom Lane argued that the recovery test should accommodate unlogged relations #7, and Noah Misch supplied a separate patch using pg_dumpall --no-unlogged-table-data, explaining that truncation still leaves dump commands absent from standby dumps #8.
- Thomas Munro reproduced the recovery failure and verified the fix #9; Noah Misch explained the questioned spacing as perltidy output #10, and the patch landed unchanged as 2f2e24d90c.
- In September, a.kozhemyakin reported that converting the GIN temporary table to unlogged had eliminated reliable ginbulkdelete coverage, demonstrating that check-world passed with a deliberately failing assertion in that function #11.
- After questioning contradictory coverage results #12, a.kozhemyakin traced the remaining coverage to another vacuum test and apparent compiler-optimization differences #14; Alvaro Herrera proposed restoring the temporary table and adding a separate unlogged test #15.
- Noah Misch suggested testing with MAX_CONNECTIONS=1 to distinguish timing effects from compiler effects #16, and a.kozhemyakin confirmed that serial execution reached the function while normal parallel runs still lacked reliable coverage #17.
- Tom Lane confirmed the timing-dependent coverage and proposed reverting all four table conversions in favor of separate unlogged-index tests, also removing the now-unnecessary table-drop workaround #18 #19; Alvaro Herrera agreed #20.
- The thread ends with Tom Lane taking on the replacement #21; he subsequently committed it as 1d2fec990c, restoring the original tests, adding dedicated unlogged-index cases, and retaining an unlogged table and sequence for dump/restore coverage, with the fix also backpatched to PostgreSQL 15.