diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-05-07 18:22:52 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-05-07 18:23:07 -0400 |
commit | 6a458d93ba5f8d4b12db6a78d31ba2623e9cb594 (patch) | |
tree | fb09cef967b6fad0ba8b34f756fd8ccd4364e133 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 363e8c2f98b80e039873902b3b3fd003ae09bd9e (diff) | |
download | postgresql-6a458d93ba5f8d4b12db6a78d31ba2623e9cb594.tar.gz postgresql-6a458d93ba5f8d4b12db6a78d31ba2623e9cb594.zip |
Ensure that "pg_restore -l" reports dependent TOC entries correctly.
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/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions