Re: What's the best way to deal with the pk_seq sequence value after a restore (bulk loading)?
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: What's the best way to deal with the pk_seq sequence value after a restore (bulk loading)? |
| Дата | |
| Msg-id | 4260.1267911476@sss.pgh.pa.us обсуждение |
| Ответ на | Re: What's the best way to deal with the pk_seq sequence value after a restore (bulk loading)? ("Wang, Mary Y" <mary.y.wang@boeing.com>) |
| Ответы |
Re: What's the best way to deal with the pk_seq sequence
value after a restore (bulk loading)?
|
| Список | pgsql-general |
"Wang, Mary Y" <mary.y.wang@boeing.com> writes:
> Actually I got that type of error during the restore process( I used pg_dump --insert option when doing the dump).
Butthe interesting thing is that even though it flagged as an error, those rows of inserts still made to the table with
thecorrect bug_id. So I'm not too worried about it right now.
> I've always suspected that the database was inconsistent state.
OK, what probably happened was that the data was loaded okay and then
you got these errors from the commands that attempted to create unique
indexes. So aside from the problem that your data is inconsistent,
you now also lack indexes. You probably ought to see about fixing
the duplications so that you can establish the indexes.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера