pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: dan <dan@webfolks.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Help with pg_restore
Date: Wed, 20 Aug 2003 17:30:27 -0400
Message-ID: <20558.1061415027@sss.pgh.pa.us> (raw)
In-Reply-To: <20030820202323.25950.qmail@home.mahoneys.us>
References: <20030820202323.25950.qmail@home.mahoneys.us>

"dan" <dan@webfolks.us> writes:
> cat file1 file2 file3 | pg_restore --clean --create

Not sure that you can get away with this; pg_restore may expect to be
able to seek in its input file.

> It churned for a while and generated a lot of output (file1 and file 2 are 
> just over a gigabyte each, and file3 is about 300 MB). But when I ran psql, 
> none of the tables had been created. What am I doing wrong? 

Were there any error messages in that output?

You've left out a lot of other significant information, btw, like how
you invoked pg_dump, what OS this is, what PG version, ...

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <20558.1061415027@sss.pgh.pa.us>
Permalink:  ../20558.1061415027@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20558.1061415027@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 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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dan@webfolks.us
  Subject: Re: Help with pg_restore
  In-Reply-To: <20558.1061415027@sss.pgh.pa.us>
  References: <20030820202323.25950.qmail@home.mahoneys.us> <20558.1061415027@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