Re: pg_dump -Fc does not dump indexes

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: pg_dump -Fc does not dump indexes
Дата
Msg-id 20050628044304.GA18003@winnie.fuhr.org
обсуждение исходный текст
Ответ на pg_dump -Fc does not dump indexes  (Alberto <nspmma@freenet.de>)
Список pgsql-admin
On Fri, Jun 24, 2005 at 08:02:40PM -0700, Alberto wrote:
>
> 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. None
> of the primary key or foreign key constraint are created. However simple
> check constraints are created.

What version of PostgreSQL are you using?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: vacuum taking longer over time
Следующее
От: KÖPFERL Robert
Дата:
Сообщение: Re: How to compare the schemas ?