Re: pg_rewarm status

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pg_rewarm status
Дата
Msg-id 20131219142515.GB11483@alap2.anarazel.de
обсуждение исходный текст
Ответ на Re: pg_rewarm status  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2013-12-19 09:16:59 -0500, Robert Haas wrote:
> There's no uint32 type at the SQL level, and int32 is no good because
> it can't represent sufficiently large positive values to cover the
> largest possible block number.

Well, pg_class.relpages is an int32, so I think that limit is already
kind of there, even though BlockNumber is typedef'ed to uint32. Yes, we
should rectify that sometime.

Even so, I don't see a reason not to use int64 here, before that.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: preserving forensic information when we freeze
Следующее
От: Robert Haas
Дата:
Сообщение: Re: preserving forensic information when we freeze