Re: Error at end of pg_dump output (setting sequence number?)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error at end of pg_dump output (setting sequence number?)
Дата
Msg-id 17089.1043214966@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Error at end of pg_dump output (setting sequence number?)  (Dan Delaney <Dionysos@mail.Dionysia.org>)
Ответы Re: Error at end of pg_dump output (setting sequence number?)  (Dan Delaney <dionysos@mail.dionysia.org>)
Список pgsql-general
Dan Delaney <Dionysos@mail.Dionysia.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: Unable to transform targetlist (internal error)
Следующее
От: Antti Haapala
Дата:
Сообщение: Re: loading delimited files