model-writtenrun 4620 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund reported that CREATE DATABASE ... STRATEGY WAL_LOG retained buffer access strategies until transaction end and unnecessarily read zero-filled destination blocks, and asked whether strategies should be shared more broadly #1.
- Robert Haas considered sharing strategies across forks or all copied relations but was unsure of the benefits #2; Andres explained the competing cache effects and suggested broader unused-buffer handling #3, which Robert did not fully endorse #4.
- With the benefits of changing strategy scope unresolved, Andres submitted only the two minimal fixes: release both access strategies and acquire destination buffers using RBM_ZERO_AND_LOCK #5.
- Robert reviewed the submitted patch and said it looked good #6.
- Andres committed the patch unchanged as 5df319f3d5, with backpatching to PostgreSQL 15, and confirmed it was pushed #7; both submitted fixes landed, while broader buffer-strategy changes remained outside this patch.