From: | armin(dot)schoeffmann(at)aegaeon(dot)de |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #14004: pg_restore never returns on premature EOF of input file if invoked with with parallel job option |
Date: | 2016-03-07 16:16:19 |
Message-ID: | 20160307161619.25731.78653@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 14004
Logged by: Armin Schöffmann
Email address: armin(dot)schoeffmann(at)aegaeon(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2016-03-07 16:21:23 | Re: BUG #13970: Vacuum hangs on particular table; cannot be terminated - requires `kill -QUIT pid` |
Previous Message | Tom Lane | 2016-03-07 15:50:21 | Re: BUG #14003: Error "could not open relation with OID 18152875" |