model-writtenrun 3358 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Justin Pryzby reported that adding -N schema to pg_restore -l omitted the pg_buffercache extension comment while retaining the extension itself #1.
- Justin also reported duplicate dependency entries for views and tables and suggested they could waste CPU; this separate concern received no fix in the supplied thread #1.
- Tom Lane identified a likely listing-only bug: PrintTOCSummary did not save the required flags that subsequent checks of dependent TOC entries rely on, unlike ProcessArchiveRestoreOptions #2.
- Tom supplied a patch that saved those flags and reported that it appeared to fix the problem, ending the visible discussion #3.
- The patch from #3 landed unchanged in c1aea206e3 later that day, with backports to all supported branches; the extension-comment listing fix was complete.