Re: xlog location arithmetic

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: xlog location arithmetic
Дата
Msg-id CAEYLb_WCTJKXV9UyJ9RgkMHH9aYid0NxmVEcbUE0esDB5nr8zA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: xlog location arithmetic  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On 20 December 2011 10:27, Magnus Hagander <magnus@hagander.net> wrote:
> Doing it in numeric should be perfectly fine. The only real reason to
> pick int8 over in this context would be performance, but it's not like
> this is something that's going to be called in really performance
> critical paths...

FYI, my group commit patch has a little macro, in the spirit of
XLByteAdvance, to get the delta between two LSNs in bytes as an
uint64.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Group commit, revised
Следующее
От: Magnus Hagander
Дата:
Сообщение: psql \timing vs failed statements