| От | Tom Lane |
|---|---|
| Тема | Re: Possible Bug in pg_upgrade |
| Дата | |
| Msg-id | 8548.1313016812@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Possible Bug in pg_upgrade (Dave Byrne <dbyrne@mdb.com>) |
| Ответы |
Re: Possible Bug in pg_upgrade
|
| Список | pgsql-hackers |
Dave Byrne <dbyrne@mdb.com> writes:
> Attached is a patch that skips orphaned temporary relations in pg_upgrade if they are lingering around. It works for
9.0-> 9.1 upgrades, however I wasn't able to tell when pg_class.relistemp was added so if it was unavailable in
versionsprior to 9.0 an additional check will have to be added.
I'm inclined to think the correct fix is to revert the assumption that
the old and new databases contain exactly the same number of tables ...
that seems to have a lot of potential failure modes besides this one.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера