Re: Errors with pg_dump
От | Tom Lane |
---|---|
Тема | Re: Errors with pg_dump |
Дата | |
Msg-id | 5139.970868203@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Errors with pg_dump (asbjs@stud.ntnu.no) |
Список | pgsql-general |
asbjs@stud.ntnu.no writes: > I would like to move some data from an older installation of PostgreSQL to > a newer. When doing > "pg_dump persondb > db.out" I get the following error message: > "dumpSequence(person_sek): 0 (!=1) tuples returned by SELECT" > The "person_sek" is a sequence in the database. > The version of PostgreSQL in question is 6.3.2, Hmm. Does the sequence still work (can you do SELECT nextval('person_sek'))? Not sure why the dump attempt would be failing, and 6.3.2 is far enough back that digging for bugs in it isn't very appealing. I'd suggest just looking for a work-around instead of a real solution. You could probably just drop and recreate the sequence before running pg_dump, being careful to set the new sequence's initial value to whatever its current value is. regards, tom lane
В списке pgsql-general по дате отправления: