X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D33D89DD56D for ; Mon, 12 Dec 2005 16:15:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96997-08 for ; Mon, 12 Dec 2005 16:15:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 7147F9DD54B for ; Mon, 12 Dec 2005 16:15:45 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id jBCKFfi4084498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Dec 2005 13:15:45 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id jBCKFfeR061319; Mon, 12 Dec 2005 13:15:41 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id jBCKFeFx061318; Mon, 12 Dec 2005 13:15:40 -0700 (MST) (envelope-from mfuhr) Date: Mon, 12 Dec 2005 13:15:40 -0700 From: Michael Fuhr To: "Josh O'Brien" Cc: pgsql-admin@postgresql.org Subject: Re: pg_restore fails with postgis Message-ID: <20051212201540.GA61175@winnie.fuhr.org> Reply-To: pgsql-admin@postgresql.org References: <439D95DD.3030409@zedxinc.com> <20051212165028.GA38784@winnie.fuhr.org> <439DABE2.703@zedxinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <439DABE2.703@zedxinc.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.02 required=5 tests=[AWL=0.020] X-Spam-Score: 0.02 X-Spam-Level: X-Archive-Number: 200512/97 X-Sequence-Number: 19817 [Please copy the mailing list on replies.] On Mon, Dec 12, 2005 at 11:57:06AM -0500, Josh O'Brien wrote: > this is the command --create --format=c -d template1 > /home/postgres/dumps/test_dump test_db. That's not a complete command; I assume those are the options and arguments to pg_restore. As far as I can tell from the documentation and tests the final argument of "test_db" serves no purpose and is ignored. > I'm not getting an error message it just doesn't restore any of the tables. That contradicts your previous message, in which you said: > >>I'm trying to restore in a cluster using pg_restore and i'm receiving an > >>error from my recoverylog saying that there is no last checkpoint for my > >>backend. Do you mean that pg_restore doesn't give any errors but the server logs do? Please clarify, and if you're getting errors anywhere then please post the exact text (copy and paste -- don't type the error messages by hand). It might help if you could post a complete test case: all commands and SQL statements that create, populate, dump, and restore a simple test database. That way we can see from start to finish what you're doing, which might make finding the problem easier. -- Michael Fuhr