model-writtenrun 8297 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Justin Pryzby reported intermittent “tuple concurrently updated” errors during parallel pg_restore and supplied a reproducer involving table and column privileges on pg_proc #1.
- Tom Lane explained that table-level REVOKE also clears column privileges and proposed making column ACL entries depend on their table ACL entry, accepting that existing archives would remain vulnerable #2.
- Justin showed that the failure also occurred without --clean #3, and Tom acknowledged the broader trigger and posted a patch that added the dependencies and removed dumpACL()'s unused CatalogId argument #4.
- Justin suggested adapting a test from another ongoing patch and noted its backpatch dependency, but no test was incorporated into this change #5.
- Tom established that all supported branches could restore ACLs concurrently and demonstrated silently missing column grants on PostgreSQL 9.5, leading him to conclude that the fix needed backpatching throughout the supported branches #6.
- After the final message, Tom committed #4 unchanged as ea9125304d, with backports to all supported branches; the fix protects newly generated archives, while existing archives retain the hazard.