From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: extend pgbench expressions with functions |
Date: | 2016-02-03 14:42:22 |
Message-ID: | CAB7nPqQjOVfR6U4JqbH5cxoUWka9NiaXRP=vCdND-2bVWaDXGA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | Postg토토 결과SQL |
On Wed, Feb 3, 2016 at 11:28 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Mon, Feb 1, 2016 at 9:46 PM, Michael Paquier
> <michael(dot)paquier(at)gmail(dot)com> wrote:
>> OK, here are patches for 9.1~9.4. The main differences are that in
>> 9.3/9.4 int64 is used for the division operations, and in 9.2/9.1
>> that's int32. In the latter case pgbench blows up the same way with
>> that:
>> \set i -2147483648
>> \set i :i / -1
>> select :i;
>> In those patches INT32_MIN/INT64_MIN need to be explicitly set as well
>> at the top of pgbench.c. I thing that's fine.
>
> I thing so too. Committed.
Thanks for thinging so.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-02-03 14:57:00 | Re: checkpoints after database start/immediate checkpoints |
Previous Message | David Steele | 2016-02-03 14:29:05 | Re: Raising the checkpoint_timeout limit |