pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Igor Neyman <ineyman@perceptron.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: parallel option in pg_restore
Date: Tue, 22 Jun 2010 13:10:16 -0400
Message-ID: <3824.1277226616@sss.pgh.pa.us> (raw)
In-Reply-To: <F4C27E77F7A33E4CA98C19A9DC6722A20625203C@EXCHANGE.corp.perceptron.com>
References: <F4C27E77F7A33E4CA98C19A9DC6722A206251EB8@EXCHANGE.corp.perceptron.com>
	<1319.1277217422@sss.pgh.pa.us>
	<F4C27E77F7A33E4CA98C19A9DC6722A206251F9A@EXCHANGE.corp.perceptron.com>
	<2216.1277220948@sss.pgh.pa.us>
	<F4C27E77F7A33E4CA98C19A9DC6722A20625203C@EXCHANGE.corp.perceptron.com>

"Igor Neyman" <ineyman@perceptron.com> writes:
> Attached are couple smallish files (I suspect, CM_200909.bac might have
> just empty tables, no data - but it still produces an errror).

Hmm.  I get

pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 2741; 1259 30866 TABLE gp_cycle_200907 vec_dba
pg_restore: [archiver (db)] could not execute query: ERROR:  relation "gp_cycle" does not exist
    Command was: 
CREATE TABLE gp_cycle_200907 (CONSTRAINT gp_cycle_200907_cycle_date_time_check CHECK (((cycle_date_time >= '2009-07-01 00:0...

The tables all seem to inherit from tables you omitted from the dump,
so of course it's not restorable for anyone else.

Now I do see

pg_restore: [custom archiver] dumping a specific TOC data block out of order is not supported without ID on this input stream (fseek required)

after that, but I'm wondering if this is just a problem in error
recovery rather than the bug we thought we were looking for.

			regards, tom lane



view thread (19+ messages)  latest in thread

Message-ID: <3824.1277226616@sss.pgh.pa.us>
Permalink:  ../3824.1277226616@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3824.1277226616@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ineyman@perceptron.com
  Subject: Re: parallel option in pg_restore
  In-Reply-To: <3824.1277226616@sss.pgh.pa.us>

* 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