pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: cdaringe@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13684: pg_restore does not restore indexes when --jobs=X passed
Date: Fri, 16 Oct 2015 16:26:19 +0000
Message-ID: <20151016162619.3019.4065@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:      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



view thread (2+ messages)  latest in thread

Message-ID: <20151016162619.3019.4065@wrigleys.postgresql.org>
Permalink:  ../20151016162619.3019.4065@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20151016162619.3019.4065@wrigleys.postgresql.org

 · 

reply

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: cdaringe@gmail.com
  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>

* 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