From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | asbjs(at)stud(dot)ntnu(dot)no |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Errors with pg_dump |
Date: | 2000-10-06 21:36:43 |
Message-ID: | 5139.970868203@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
asbjs(at)stud(dot)ntnu(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-10-06 21:47:01 | Re: How does TOAST compare to other databases' mechanisms? |
Previous Message | Bryan White | 2000-10-06 21:32:55 | Re: Errors with pg_dump |