pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13684: pg_restore does not restore indexes when --jobs=X passed
2+ messages / 2 participants
[nested] [flat]

* BUG #13684: pg_restore does not restore indexes when --jobs=X passed
@ 2015-10-16 16:26 cdaringe@gmail.com
  2015-10-16 20:37 ` Re: BUG #13684: pg_restore does not restore indexes when --jobs=X passed Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: cdaringe@gmail.com @ 2015-10-16 16:26 UTC (permalink / raw)
  To: pgsql-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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #13684: pg_restore does not restore indexes when --jobs=X passed
  2015-10-16 16:26 BUG #13684: pg_restore does not restore indexes when --jobs=X passed cdaringe@gmail.com
@ 2015-10-16 20:37 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2015-10-16 20:37 UTC (permalink / raw)
  To: cdaringe@gmail.com; +Cc: pgsql-bugs

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-10-16 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-10-16 16:26 BUG #13684: pg_restore does not restore indexes when --jobs=X passed cdaringe@gmail.com
2015-10-16 20:37 ` Tom Lane <tgl@sss.pgh.pa.us>

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