Restoring sequence values

Поиск
Список
Период
Сортировка
От Bendik Rognlien Johansen
Тема Restoring sequence values
Дата
Msg-id 29CBBDCD-A74F-4D3C-AFAF-A20FA99A9507@gmail.com
обсуждение исходный текст
Ответы Re: Restoring sequence values  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hello!

Is there any way to restore the value of sequences when using
pg_restore on a custom format (pg_dump -c) dump file?


Also is there an easy way to copy a database from one machine to
another?

I have tried using pg_dump/pg_restore, but this does not work well
because the order of the objects get mixed up (Lots of foreign keys
etc.) I have tried using a list file, but wading through hundreds of
functions is tedious.

Thanks

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

Предыдущее
От: George Weaver
Дата:
Сообщение: Re: Problem getting xml2 contrib module working with 8.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Restoring sequence values