Re: PATCH: pgbench / int64 instead of int for xact count

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PATCH: pgbench / int64 instead of int for xact count
Дата
Msg-id 12404.1401042771@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PATCH: pgbench / int64 instead of int for xact count  (Tomas Vondra <tv@fuzzy.cz>)
Ответы Re: PATCH: pgbench / int64 instead of int for xact count  (Tomas Vondra <tv@fuzzy.cz>)
Список pgsql-hackers
Tomas Vondra <tv@fuzzy.cz> writes:
> On 25.5.2014 19:05, Andres Freund wrote:
>> That's not right though. On windows a long (indicated by the %l) is only
>> 4 bytes wide. Check INT64_FORMAT. That's generated by configure/platform
>> template files and should always be correct.

> Oh, right. v2 of the patch attached.

Hm ... if normal_xacts can overflow an int, shouldn't we expect that
the product nxacts * nclients could?
        regards, tom lane



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: PATCH: pgbench / int64 instead of int for xact count
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD