aboutsummaryrefslogtreecommitdiff
path: root/contrib/start-scripts
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-05-07 18:22:52 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-05-07 18:23:01 -0400
commit5dce8ce0ac48bc8af33d7efcdbfee713781598ed (patch)
tree0b9852e5f25669a64a0b44de9d73185a76221b21 /contrib/start-scripts
parentbe18a12b663181f304d49022a452e31e4df42ff2 (diff)
downloadpostgresql-REL_16_STABLE.tar.gz
postgresql-REL_16_STABLE.zip
Ensure that "pg_restore -l" reports dependent TOC entries correctly.REL_16_STABLE
If -l was specified together with selective-restore options such as -n or -N, dependent TOC entries such as comments would be omitted from the listing, even when an actual restore would have selected them. This happened because PrintTOCSummary neglected to update the te->reqs marking of the entry they depended on. Per report from Justin Pryzby. This has been wrong since 0d4e6ed30 taught _tocEntryRequired to sometimes look at the "reqs" marking of other TOC entries, so back-patch to all supported branches. Discussion: https://postgr.es/m/ZjoeirG7yxODdC4P@pryzbyj2023
Diffstat (limited to 'contrib/start-scripts')
0 files changed, 0 insertions, 0 deletions