dump and sequence initilizing - Mailing list pgsql-general

From Markus Rebbert
Subject dump and sequence initilizing
Date
Msg-id 1071490788.835.328.camel@antichrist.freenet.de
Whole thread Raw
Responses Re: dump and sequence initilizing  (Bruno Wolff III <bruno@wolff.to>)
Re: dump and sequence initilizing  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
List 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 by date:

Previous
From: "Manu M P"
Date:
Subject: password authentication failed for ..
Next
From: Bruno Wolff III
Date:
Subject: Re: dump and sequence initilizing