Re: Error at end of pg_dump output (setting sequence number?)
В списке pgsql-general по дате отправления:
| От | 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?)
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера