Re: pg_dump problems

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: pg_dump problems
Дата
Msg-id 459BFD8D.4030100@archonet.com
обсуждение исходный текст
Ответ на pg_dump problems  (JTyrrell <jtyrrell_@hotmail.com>)
Ответы Re: pg_dump problems  (JTyrrell <jtyrrell_@hotmail.com>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Yesh
Дата:
Сообщение: Re: About auto_increment
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: queueing via database table?