From: armin.schoeffmann@aegaeon.de
To: pgsql-bugs@postgresql.org
Subject: BUG #14004: pg_restore never returns on premature EOF of input file if invoked with with parallel job option
Date: Mon, 07 Mar 2016 16:16:19 +0000
Message-ID: <20160307161619.25731.78653@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: armin.schoeffmann@aegaeon.de
Subject: Re: BUG #14004: pg_restore never returns on premature EOF of input file if invoked with with parallel job option
In-Reply-To: <20160307161619.25731.78653@wrigleys.postgresql.org>
References: <20160307161619.25731.78653@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox