Re: pg_dump -Fc does not dump indexes]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump -Fc does not dump indexes]
Дата
Msg-id 27951.1119719322@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump -Fc does not dump indexes]  (Alberto <nspmma@freenet.de>)
Список pgsql-admin
Alberto <nspmma@freenet.de> writes:
> I have tried to backup my postgres database with
>    pg_dump -Fc $db > ~/backups/$db.backup.c
> and restore it with:
>    createdb -U postgres -D aestel_admin -T template0 restoreTMP
>    pg_restore -d restoreTMP -U postgres $db.backup.c

> I do not get any error messages but none of my indexes are created.

Works for me ... can you create a self-contained test case?  What PG
version are you using, anyway (and are you sure the pg_dump and
pg_restore programs are of the same version)?

            regards, tom lane

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

Предыдущее
От: Alberto
Дата:
Сообщение: pg_dump -Fc does not dump indexes]
Следующее
От: David Bear
Дата:
Сообщение: listening on tcp socket instead of unix domain