Re: Transaction ID wraparound: problem and proposed solution

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Transaction ID wraparound: problem and proposed solution
Дата
Msg-id Pine.LNX.4.21.0011051638470.780-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Transaction ID wraparound: problem and proposed solution  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: Transaction ID wraparound: problem and proposed solution  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-hackers
Hannu Krosing writes:

> > The first thought that comes to mind is that XIDs should be promoted to
> > eight bytes.  However there are several practical problems with this:
> > * portability --- I don't believe long long int exists on all the
> > platforms we support.
> 
> I suspect that gcc at least supports long long on all OS-s we support

Uh, we don't want to depend on gcc, do we?

But we could make the XID a struct of two 4-byte integers, at the obvious
increase in storage size.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Transaction ID wraparound: problem and proposed solution
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Transaction ID wraparound: problem and proposed solution