X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1902BD1D168 for ; Wed, 20 Aug 2003 18:30:43 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 10769-07 for ; Wed, 20 Aug 2003 18:30:33 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id D70C7D1D11B for ; Wed, 20 Aug 2003 18:30:25 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h7KLUS5H020559; Wed, 20 Aug 2003 17:30:28 -0400 (EDT) To: "dan" Cc: pgsql-admin@postgresql.org Subject: Re: Help with pg_restore In-reply-to: <20030820202323.25950.qmail@home.mahoneys.us> References: <20030820202323.25950.qmail@home.mahoneys.us> Comments: In-reply-to "dan" message dated "Wed, 20 Aug 2003 13:23:23 -0700" Date: Wed, 20 Aug 2003 17:30:27 -0400 Message-ID: <20558.1061415027@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/234 X-Sequence-Number: 9955 "dan" 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