Re: Possible Bug in pg_upgrade

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Possible Bug in pg_upgrade
Дата
Msg-id 1313046149.5229.1.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Possible Bug in pg_upgrade  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Possible Bug in pg_upgrade  (Dave Byrne <dbyrne@mdb.com>)
Список pgsql-hackers
On ons, 2011-08-10 at 18:53 -0400, Tom Lane wrote:
> 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
for9.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.

It's basically checking whether pg_dump -s worked.  That doesn't seem
like a good use of time.



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: WIP: Fast GiST index build
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: sha1, sha2 functions into core?