Re: BUG #1814: Cancelling a CLUSTER changes the OID counter

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1814: Cancelling a CLUSTER changes the OID counter
Дата
Msg-id 11872.1123558297@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #1814: Cancelling a CLUSTER changes the OID counter  ("Ian Burrell" <ianburrell@gmail.com>)
Ответы Re: BUG #1814: Cancelling a CLUSTER changes the OID counter  (Ian Burrell <ianburrell@gmail.com>)
Список pgsql-bugs
"Ian Burrell" <ianburrell@gmail.com> writes:
> Cancelling a CLUSTER is causing the OID counter to jump forwards.  In the
> test below, it goes from 108 million to 4286 million (close to 2^32).

> We recently wrapped the OID counter.

Uh, does the same thing happen if you *don't* cancel it?

It looks to me like this could possibly happen due to CheckMaxObjectId()
being applied to each OID found in the existing table.

CheckMaxObjectId was always a kluge, and I'm not sure that it still has
any redeeming social value at all.  Can anyone think of a good reason
to keep it?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1814: Cancelling a CLUSTER changes the OID counter
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1814: Cancelling a CLUSTER changes the OID counter