model-writtenrun 6042 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported that pg_dump failed to lock partitioned tables because its locking condition checked the wrong element of tblinfo[], and supplied a one-line fix in #1.
- Tom Lane explained in #1 that an earlier change had incidentally fixed this bug, but its subsequent revert had also removed the fix.
- The patch in #1 preserves the existing locking logic while checking the current table's relkind.
- Tom Lane committed the patch unchanged as e2ff7d9a83, explaining that childless partitioned tables were particularly exposed to concurrent DDL and specifying backpatching through PostgreSQL 10.
- The sole submitted patch in #1 landed in e2ff7d9a83; the supplied thread contains no review replies or outstanding work.