Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn9Og-0006bZ-RV for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Oct 2015 18:06:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zn9Og-0005hG-Cv for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Oct 2015 18:06:30 +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 1Zn7qU-0007Kx-GT for pgsql-bugs@postgresql.org; Fri, 16 Oct 2015 16:27:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zn7qR-0006vU-31 for pgsql-bugs@postgresql.org; Fri, 16 Oct 2015 16:27:05 +0000 MIME-Version: 1.0 Subject: BUG #13684: pg_restore does not restore indexes when --jobs=X passed To: pgsql-bugs@postgresql.org From: cdaringe@gmail.com Date: Fri, 16 Oct 2015 16:26:19 +0000 Message-ID: <20151016162619.3019.4065@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" 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: 13684 Logged by: Christopher Dieringer Email address: cdaringe@gmail.com PostgreSQL version: 9.4.2 Operating system: Ubuntu 14.04 64-bit (64) Description: Hi all: I have read the documentation on pg_restore using --jobs. Unfortunately, when I run the pg_restore command with --jobs=4 or --jobs=6, it _skips_ re-adding indexes to my tables. It states that --jobs only works with the c format. My dumps are generated and restored via: pg_dump --verbose -Fc -p 6117 -f '/path/to/network/storage/db.dump' # pg 9.4.4, ubu 14.04 cp /path/to/network/storage/db.dump /local/path/dbdump pg_restore -vd coins_temp /local/path/dbdump # pg 9.4.2, ubu 14.04 This really threw me for a loop. Apologies if I'm missing something obvious, but I did run it by some peers prior to report :) Thanks! -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs