Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZnBlo-0006Zy-Pp for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Oct 2015 20:38:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZnBlo-0001mO-0v for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Oct 2015 20:38:32 +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 1ZnBlC-00014U-Qc for pgsql-bugs@postgresql.org; Fri, 16 Oct 2015 20:37:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZnBl5-0003hg-Qe for pgsql-bugs@postgresql.org; Fri, 16 Oct 2015 20:37:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t9GKbinO030564; Fri, 16 Oct 2015 16:37:44 -0400 From: Tom Lane To: cdaringe@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13684: pg_restore does not restore indexes when --jobs=X passed In-reply-to: <20151016162619.3019.4065@wrigleys.postgresql.org> References: <20151016162619.3019.4065@wrigleys.postgresql.org> Comments: In-reply-to cdaringe@gmail.com message dated "Fri, 16 Oct 2015 16:26:19 -0000" Date: Fri, 16 Oct 2015 16:37:44 -0400 Message-ID: <30563.1445027864@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 cdaringe@gmail.com writes: > 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 seems pretty unlikely that it would just "skip" them. More probable is that the index creation commands are failing for some reason. Have you looked at pg_restore's output and/or the postmaster log for clues? If that doesn't turn up any info, can you provide a self-contained test case? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs