Re: 64-bit size pgbench
| От | Tom Lane |
|---|---|
| Тема | Re: 64-bit size pgbench |
| Дата | |
| Msg-id | 3717.1264781397@sss.pgh.pa.us обсуждение |
| Ответ на | 64-bit size pgbench (Greg Smith <greg@2ndquadrant.com>) |
| Ответы |
Re: 64-bit size pgbench
Re: 64-bit size pgbench |
| Список | pgsql-hackers |
Greg Smith <greg@2ndquadrant.com> writes:
> Was looking for general feedback on whether the way I've converted this
> to use 64 bit integers for the account numbers seems appropriate, and to
> see if there's any objection to fixing this in general given the
> potential downsides.
In the past we've rejected proposed patches for pgbench on the grounds
that they would make results non-comparable to previous results. So the
key question here is how much this affects the speed. Please be sure to
test that on a 32-bit machine, not a 64-bit one.
> ! retval = (int64) strtol(res, &endptr, 19);
That bit is merely wishful thinking :-(
regards, tom lane
В списке pgsql-hackers по дате отправления: