Re: [GENERAL] pg_migrator not setting values of sequences?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [GENERAL] pg_migrator not setting values of sequences? |
| Дата | |
| Msg-id | 2929.1247527089@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [GENERAL] pg_migrator not setting values of sequences? (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: [GENERAL] pg_migrator not setting values of
sequences?
|
| Список | pgsql-hackers |
Bruce Momjian <bruce@momjian.us> writes:
> Tilmann Singer wrote:
>> However, all of the sequences were at the initial values and not
>> bumped up to the last used value as I would have expected. The first
>> nextval call on any sequence in the migrated 8.4 database always
>> returned 1.
> Wow, that is also surprising. I am going to have to run some tests to
> find the cause, but it certainly is not intended.
Looks like pg_migrator neglects to include relkind 'S' in the set of
tables that it needs to physically migrate.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера