From: Michael Fuhr <mike@fuhr.org>
To: Josh O'Brien <obrien@zedxinc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore fails with postgis
Date: Mon, 12 Dec 2005 13:15:40 -0700
Message-ID: <20051212201540.GA61175@winnie.fuhr.org> (raw)
In-Reply-To: <439DABE2.703@zedxinc.com>
References: <439D95DD.3030409@zedxinc.com>
<20051212165028.GA38784@winnie.fuhr.org>
<439DABE2.703@zedxinc.com>
[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
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: mike@fuhr.org, obrien@zedxinc.com
Subject: Re: pg_restore fails with postgis
In-Reply-To: <20051212201540.GA61175@winnie.fuhr.org>
References: <439D95DD.3030409@zedxinc.com> <20051212165028.GA38784@winnie.fuhr.org> <439DABE2.703@zedxinc.com> <20051212201540.GA61175@winnie.fuhr.org>
* 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