Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1acxqI-000058-Mf for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Mar 2016 16:17:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1acxqI-0000V2-4S for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Mar 2016 16:17:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1acxqH-0000Ul-Nk for pgsql-bugs@postgresql.org; Mon, 07 Mar 2016 16:17:09 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1acxqB-0000yw-PD for pgsql-bugs@postgresql.org; Mon, 07 Mar 2016 16:17:09 +0000 MIME-Version: 1.0 Subject: BUG #14004: pg_restore never returns on premature EOF of input file if invoked with with parallel job option To: pgsql-bugs@postgresql.org From: armin.schoeffmann@aegaeon.de Date: Mon, 07 Mar 2016 16:16:19 +0000 Message-ID: <20160307161619.25731.78653@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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