forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5dce8ce
committed
Ensure that "pg_restore -l" reports dependent TOC entries correctly.
If -l was specified together with selective-restore options such as -nor -N, dependent TOC entries such as comments would be omitted fromthe listing, even when an actual restore would have selected them.This happened because PrintTOCSummary neglected to update the te->reqsmarking of the entry they depended on.Per report from Justin Pryzby. This has been wrong since0d4e6edtaught _tocEntryRequired to sometimes look at the "reqs" marking ofother TOC entries, so back-patch to all supported branches.Discussion:https://postgr.es/m/ZjoeirG7yxODdC4P@pryzbyj20231 parentbe18a12 commit5dce8ce
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1230 | 1230 |
| |
1231 | 1231 |
| |
1232 | 1232 |
| |
| 1233 | + | |
1233 | 1234 |
| |
1234 | 1235 |
| |
| 1236 | + | |
| 1237 | + | |
1235 | 1238 |
| |
1236 |
| - | |
| 1239 | + | |
1237 | 1240 |
| |
1238 | 1241 |
| |
1239 | 1242 |
| |
|
0 commit comments
Comments
(0)