Wrong starting value of sequences after doing pg_dump

Поиск
Список
Период
Сортировка
От Dennis Gearon
Тема Wrong starting value of sequences after doing pg_dump
Дата
Msg-id 21568.16658.qm@web82104.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: Wrong starting value of sequences after doing pg_dump  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
I did a pg_dump of a database.

All the sequences ended up with starting values of 1. Since this is not an empty database, this is all wrong.

Is there anything I need to do at command time to change that or is it a bug?

\set in psql gives:

PostgreSQL 8.4.5 on x86_64-pc-linux-gnu, compiled by GCC gcc-4.4.real (Ubuntu 4.4.3-4ubuntu5) 4.4.3, 64-bit

Dennis Gearon

Signature Warning
----------------
It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes,
soyou do not have to make them yourself. from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036' 

EARTH has a Right To Life,
  otherwise we all die.

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Segfault : PostgreSQL 9.0.0 and PgPool-II.
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Wrong starting value of sequences after doing pg_dump