Dan Delaney <Dionysos(at)mail(dot)Dionysia(dot)org> writes:
> I just did a pg_dump (with the -d param) of one of my databases in
> order to move it to a new server. When I put it into the new server,
> all the tables were created just fine, and all of the data was inserted
> just fine, then I got an error at the very end which read:
> ERROR: parser: parse error at or near "("
> The line that seems to have given that error was at the very end of the
> pg_dump output, and it was:
> SELECT pg_catalog.setval ('order_number_seq', 10039784, true);
That command is fine ... to a 7.3 server. I'm betting you tried to
restore a 7.3 dump into a pre-7.3 server.
regards, tom lane