model-writtenrun 8474 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nathan Bossart reported that pg_restore fails to restore large objects from extracted tar archives because their BLOBS entries record incorrect filenames, and proposed constructing the expected filenames in #1; fixing the reader also accommodates existing archives, while possible tar-format deprecation was deferred.
- Sami Imseih reproduced the failure and confirmed that the initial patch fixes it, including multiple BLOBS batches and parallel restore, while ordinary directory-format restores still work; he suggested adding a regression test in #2.
- Bertrand Drouvot identified another affected path in #3: _PrepParallelRestore() uses the incorrect filename for stat(), leaving the large-object size estimate at zero and depriving the parallel scheduler of that estimate.
- Nathan Bossart extended the same filename construction to parallel-restore preparation in #4 and expanded the proposed backpatch range to PostgreSQL 15; the revision did not add the suggested regression test.
- Bertrand Drouvot approved the revised patch in #5; the thread ends with a reviewed patch awaiting commit and no linked commit.