Re: PATCH: pgbench / int64 instead of int for xact count - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PATCH: pgbench / int64 instead of int for xact count
Date
Msg-id 12404.1401042771@sss.pgh.pa.us
Whole thread Raw
In response to Re: PATCH: pgbench / int64 instead of int for xact count  (Tomas Vondra <tv@fuzzy.cz>)
Responses Re: PATCH: pgbench / int64 instead of int for xact count
List 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 by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: PATCH: pgbench / int64 instead of int for xact count
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD