Re: [WIP Patch] Using 128-bit integers for sum, avg and statistics aggregates - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: [WIP Patch] Using 128-bit integers for sum, avg and statistics aggregates
Date
Msg-id 544FAC87.2040705@proxel.se
Whole thread Raw
In response to Re: [WIP Patch] Using 128-bit integers for sum, avg and statistics aggregates  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: [WIP Patch] Using 128-bit integers for sum, avg and statistics aggregates
List pgsql-hackers
On 10/28/2014 03:40 PM, Heikki Linnakangas wrote:
> The patch doesn't do division with the 128-bit integers. It only does
> addition and multiplication. Those are pretty straightforward to implement.

The patch uses division when converting from __int128_t to Numeric.

- Andreas





pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Directory/File Access Permissions for COPY and Generic File Access Functions
Next
From: Kevin Grittner
Date:
Subject: Re: alter user/role CURRENT_USER