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 14:40:39 -0400
Message-ID: <5733.1277232039@sss.pgh.pa.us> (raw)
In-Reply-To: <F4C27E77F7A33E4CA98C19A9DC6722A20625208F@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>
	<3824.1277226616@sss.pgh.pa.us>
	<F4C27E77F7A33E4CA98C19A9DC6722A20625208F@EXCHANGE.corp.perceptron.com>

"Igor Neyman" <ineyman@perceptron.com> writes:
> Attached is script that could be used to pre-create "parent" tables
> (from which partitions were inherited).

Thanks.  Now that I dig into it, it looks like the actual trigger for
the problem is that pg_dump, not pg_restore, couldn't seek while it
was creating the dump file --- so it didn't seek back and update the
file's table-of-contents with exact dump offsets.  What command did
you use to create the dump file, exactly?

			regards, tom lane



view thread (19+ messages)  latest in thread

Message-ID: <5733.1277232039@sss.pgh.pa.us>
Permalink:  ../5733.1277232039@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5733.1277232039@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: <5733.1277232039@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