Re: What's the best way to deal with the pk_seq sequence value after a restore (bulk loading)?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What's the best way to deal with the pk_seq sequence value after a restore (bulk loading)?
Дата
Msg-id 6258.1267924384@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What's the best way to deal with the pk_seq sequence value after a restore (bulk loading)?  (Scott Ribe <scott_ribe@killerbytes.com>)
Список pgsql-general
Scott Ribe <scott_ribe@killerbytes.com> writes:
>> 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.

> Isn't it also possible that she was not restoring into an empty database?

Maybe, but then she should have seen complaints about pre-existing
tables and so forth, too.

            regards, tom lane

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

Предыдущее
От: Scott Ribe
Дата:
Сообщение: Re: What's the best way to deal with the pk_seq sequence value after a restore (bulk loading)?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: non intuitive behaviour of DROP TABLE IF EXISTS