Re: BUG #13664: pg_restore fails with -j parameter when restoring 9.1 db onto 9.5 alpha db

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: slava(at)cloudflare(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #13664: pg_restore fails with -j parameter when restoring 9.1 db onto 9.5 alpha db
Date: 2015-10-07 21:56:09
Message-ID: 11861.1444254969@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

slava(at)cloudflare(dot)com writes:
> I am trying to restore 9.1 dump into new 9.5 database.
> pg_restore seems to hang indefinitely (not doing anything) when I set number
> of jobs: "-j 4".
> works fine if skipping "-j" setting. On same machine, 9.1 restores fine on
> same host.

Impossible to do anything with this report with that much detail.
Can you look into pg_stat_activity to see what the pg_restore jobs
are doing when activity ceases? Can you show us the declarations
of the tables or other objects they're working on?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Slava Moudry 2015-10-07 22:37:43 Re: BUG #13664: pg_restore fails with -j parameter when restoring 9.1 db onto 9.5 alpha db
Previous Message Alvaro Herrera 2015-10-07 17:01:54 Re: BUG #13666: REASSIGN OWNED BY doesn't affect the relation underlying composite type