Re: Strange problem when upgrading to 7.2 with pg_upgrade.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange problem when upgrading to 7.2 with pg_upgrade.
Дата
Msg-id 14275.1014354508@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Strange problem when upgrading to 7.2 with pg_upgrade.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Strange problem when upgrading to 7.2 with pg_upgrade.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Strange problem when upgrading to 7.2 with pg_upgrade.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> I suspect that pg_upgrade has neglected to make sure the clog is long
>> enough.

> Here is the code that sets the transaction id.  Tom, does pg_resetxlog
> handle pg_clog file creation properly?

pg_resetxlog doesn't know a single solitary thing about the clog.

The problem here is that if you're going to move the current xact ID
forward, you need to be prepared to create pages of the clog
accordingly.  Or maybe the clog routines need to be less rigid in their
assumptions, but I'm uncomfortable with relaxing their expectations
unless it can be shown that they may fail to cope with cases that
arise in normal system operation.  This isn't such a case.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Strange problem when upgrading to 7.2 with pg_upgrade.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Strange problem when upgrading to 7.2 with pg_upgrade.