dump and sequence initilizing

Поиск
Список
Период
Сортировка
От Markus Rebbert
Тема dump and sequence initilizing
Дата
Msg-id 1071490788.835.328.camel@antichrist.freenet.de
обсуждение исходный текст
Ответы Re: dump and sequence initilizing  (Bruno Wolff III <bruno@wolff.to>)
Re: dump and sequence initilizing  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
Список pgsql-general
Hi list,

what happens with sequences if i dump a database and i want to reload
it?

Do i have to initialize the sequences like
SELECT setval('sequence', max(id)) FROM table;
?

Best regards,
Markus


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

Предыдущее
От: "Manu M P"
Дата:
Сообщение: password authentication failed for ..
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: dump and sequence initilizing