Re: Help with pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "dan" <dan(at)webfolks(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Help with pg_restore
Date: 2003-08-20 21:30:27
Message-ID: 20558.1061415027@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"dan" <dan(at)webfolks(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message dan 2003-08-20 21:56:25 Re: Help with pg_restore
Previous Message dan 2003-08-20 20:23:23 Help with pg_restore