hubert depesz lubaczewski <depesz@depesz.pl> writes:
> ERROR: newses_seq.nextval: bad magic (00000000)
Hmm, something bad has happened to your sequence object.
It would be interesting to try to figure out what caused that, but if
you're in a hurry, try dropping and recreating that sequence.
regards, tom lane