agora inbox for pgsql-general@postgresql.org
help / color / mirror / Atom feedFrom: Richard Huxton <dev@archonet.com>
To: JTyrrell <jtyrrell_@hotmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: pg_dump problems
Date: Wed, 03 Jan 2007 19:01:33 +0000
Message-ID: <459BFD8D.4030100@archonet.com> (raw)
In-Reply-To: <8138723.post@talk.nabble.com>
References: <8138723.post@talk.nabble.com>
JTyrrell wrote:
>
> pg_dump -a -d testrig > testrig.data
>
> on a machine running postgresql 7.4.13 with database testirg i have no
> problem.
>
> Then, I want to do the same but on a different machine running postgresql
> 7.4.6 with database root. So...
>
> pg_dump -a -d root > root.data
>
> For some reason this doesnt work! The command is running without error, but
> the file root.data is always empty. The database does exist and all the data
> is there, and I can run psql and do everything I normally do. I've tried
> pg_dump with other databases and still get an empty file.
Should work just fine.
1. Does "pg_dump -s" work?
2. Does the user you run this as have permission to dump data from "root"?
--
Richard Huxton
Archonet Ltd
view thread (20+ messages) latest in thread
Message-ID: <459BFD8D.4030100@archonet.com>
Permalink: ../459BFD8D.4030100@archonet.com/
Also on: postgresql.org/message-id/459BFD8D.4030100@archonet.com
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 using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: dev@archonet.com, jtyrrell_@hotmail.com
Subject: Re: pg_dump problems
In-Reply-To: <459BFD8D.4030100@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox