The following bug has been logged on the website:
Bug reference: 14004
Logged by: Armin Schöffmann
Email address: armin.schoeffmann@aegaeon.de
PostgreSQL version: 9.5.1
Operating system: Microsoft Windows [Version 6.1.7601] x64
Description:
1) Multithreaded call of pg_restore with damaged input file:
pg_restore -Uaegaeon -v -j12 -c -dpostgres database_dump.dump
[...]
Element 2022 SEQUENCE SET recipes_recipe_id_seq abgeschlossen
pg_restore: [paralleler Archivierer] could not read from input file: end of
file
command never returns:
debugger shows blocking wait in parallel.c ln 403:
ret = WaitForMultipleObjects(nrun, (HANDLE *) lpHandles, false, INFINITE);
2) Singlethreaded call of pg_restore with damaged input file:
pg_restore -Uaegaeon -v -j1 -c -dpostgres database_dump.dump
[...]
pg_restore: [Custom-Archivierer] konnte nicht aus Eingabedatei lesen:
Dateiende
C:\Program Files\PGsql\bin>
Problem verified on 9.5.1, 9.5.0, 9.4.5
(all x64).
Best regards,
Armin.